Bluehost.com Web Hosting $6.95

[Samba] a little problem with net getlocalsid

This is a discussion on [Samba] a little problem with net getlocalsid within the Samba forums, part of the Networking and Network Related category; My samba PDC is working very well. I only have an 'theoretical' question (I think). When I run 'net getlocalsid ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-16-2005
Pablo Chamorro C.
 
Posts: n/a
Default [Samba] a little problem with net getlocalsid

My samba PDC is working very well. I only have an 'theoretical' question
(I think). When I run 'net getlocalsid my-pdc', it fails (see below). I
think this is because someday the name of my pdc was other! In fact 'net
getlocalsid my-old-pdc-name' works! and that output is the same output
obtained from running 'net getlocalsid my-domain' (as written on the
docs). Please, look at this:

--- begin ---
[root]# net getlocalsid chapacual (my pdc)
[2005/11/16 16:00:01, 0] utils/net.c:net_getlocalsid(494)
Can't fetch domain SID for name: chapacual

[root]# net getlocalsid fedora (my old-pdc name, perhaps)
SID for domain fedora is:
S-1-5-21-2136240049-1876580567-1582218551

[root] # net getlocalsid corpasto (my domain)
SID for domain corpasto is: S-1-5-21-2136240049-1876580567-1582218551
--- end ---

and, now:

--- begin ---
[root]# tdbdump /etc/samba/secrets.tdb
{
key = "SECRETS/SID/FEDORA" (my old PDC name)
data = ...
}

{
key = "SECRETS/SID/CORPASTO" (my domain name)
data = ...
}

--- end ---

Please, what is the recommended solution in order to make net getlocalsid
works for my situation? or is it preferable to do nothing? By the way,
could the file secrets.tdb be edited safely to change 'FEDORA' by
'CHAPACUAL'? I have samba-3.0.11-1 under FC3.

Thanks,

Pablo Chamorro C.

--
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0