When you call $ net getlocalsid DOMAIN
I don't know if you have to add DOMAIN to your command, Try simply whithout and see if it's work: $ net getlocalsid As I have to setup a PDC using openldap and samba for my work I have re-wrote an article describing the whole setup I have done, perhaps you could also find some usefull information here: http://www.drakonix.fr/index.php?id=gentoo&tab=21&pid=20 And excuse me for my poor english :) Hope it will help Fred > Hello, > > > > I'm trying to run ldap samba pdc, but have one problem. > > > > smbpassword -w password > > Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb > > > > > > But when I'm trying this: net getlocalsid DOMAIN > > I'm getting this: > > > > [2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982) > > failed to bind to server ldap://127.0.0.1/ with > dn="cn=manager,dn=example,dn=net" Error: Invalid DN syntax > > invalid DN > > [2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651) > > Can't fetch domain SID for name: DOMAIN > > > > From smb.conf: > > ldap suffix = dc=example,dc=net > > ldap admin dn = cn=root,dn=example,dn=net > > ldap group suffix = ou=Groups > > ldap user suffix = ou=Users > > ldap machine suffix = ou=Computers > > ldap idmap suffix = ou=Idmap > > > > testparm /etc/samba/smb.conf > > Load smb config files from /etc/samba/smb.conf > > Processing section "[netlogon]" > > Processing section "[profiles]" > > Processing section "[homes]" > > Processing section "[public docks]" > > Loaded services file OK. > > Server role: ROLE_DOMAIN_PDC > > > > Arunas > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- http://www.drakonix.fr

