[Samba] a little problem with net getlocalsid
Pablo Chamorro C.
pchamorro at ingeominas.gov.co
Wed Nov 16 22:46:06 GMT 2005
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
More information about the samba
mailing list