[Samba] getlocalsid error

Mont Rothstein mont.rothstein at gmail.com
Tue Mar 7 01:13:59 GMT 2006

I am trying to integrate Samba version is 3.0.10 with Fedora Directory
Server (1.0.1) on RHEL 4.

I am attempting to follow:

but I am getting an error with net getlocalsid.  The output is:

[2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_connect_system(850)
  failed to bind to server with dn= cn=Directory Manager Error: Can't
contact LDAP server
[2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155)
  smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed
SID for domain RHELES4RS1 is: S-1-5-21-807157010-1821471989-4121009367

While I get a SID I assume I should not proceed with these errors.

I've gone over my config I can't find my error.  I've searched online and
can't find anything.

The full ouput of testparm is below.

Any ideas as to what I've done wrong?


Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
 Processing section "[profiles]"
Processing section "[homes]"
Processing section "[printers]"
Processing section "[repository]"
Processing section "[root directory]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
# Global parameters
    server string = rheles4rs1
    password server = None
    passdb backend = ldapsam:ldap://rheles4rs1.forayadams.foray.com
    username map = /etc/samba/smbusers
    log file = /var/log/%m.log
    max log size = 50
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    printcap name = /etc/printcap
    logon path = \\%L\profiles\%u
    logon drive = H:
    logon home = \\%L\%u\profiles
    domain logons = Yes
    os level = 33
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    wins support = Yes
     ldap admin dn = cn=Directory Manager
    ldap group suffix = ou=Groups
    ldap machine suffix = ou=Computers
    ldap suffix = dc=forayadams,dc=foray,dc=com
    ldap user suffix = ou=People
    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    cups options = raw

    path = /var/lib/samba/netlogon
    browseable = No

    path = /var/lib/samba/profiles
    read only = No
    create mask = 0600
     directory mask = 0700

    comment = Home Directories
    read only = No
    browseable = No

    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

    path = /repository
    valid users = testadmin, testuser
    read only = No

[root directory]
    path = /
    valid users = mont
    read only = No

More information about the samba mailing list