[Fedora-directory-users] Re: getlocalsid error

Mont Rothstein mont.rothstein at gmail.com
Wed Mar 8 01:10:56 UTC 2006


In case anyone else comes across this my problem was the same for both
ldapsearch and my smb.conf.  I am not using the default port for Fedora
Directory Server therefore I needed to specify the port.  For ldapsearch it
meant adding the -p option.  For smb.conf my passdb line became:

passdb backend = ldapsam:ldap://example.com:port

-Mont


On 3/6/06, Mont Rothstein <mont.rothstein at gmail.com> wrote:
>
> I've just installed Fedora Directory Server (1.0.1) on RHEL 4.
>
> Samba version is 3.0.10
>
> I am attempting to follow:
> http://directory.fedora.redhat.com/wiki/Howto:Samba
>
> 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
>         (unknown)
> [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155)
>   smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed
> out)
> 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?
>
> Thanks,
> -Mont
>
> 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
> [global]
>     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
>
> [netlogon]
>     path = /var/lib/samba/netlogon
>     browseable = No
>
> [profiles]
>     path = /var/lib/samba/profiles
>     read only = No
>     create mask = 0600
>     directory mask = 0700
>
> [homes]
>     comment = Home Directories
>     read only = No
>     browseable = No
>
> [printers]
>     comment = All Printers
>     path = /var/spool/samba
>     printable = Yes
>     browseable = No
>
> [repository]
>     path = /repository
>     valid users = testadmin, testuser
>     read only = No
>
> [root directory]
>     path = /
>     valid users = mont
>     read only = No
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060307/8477b279/attachment.htm>


More information about the Fedora-directory-users mailing list