The next step talks about populating the entry with the SID for yoursamba domain.. in your case it would be something like dn: sambaDomainName=MIAPOGO,dc=example,dc=com objectclass: sambaDomain objectclass: sambaUnixIDPool objectclass: top sambaDomainName: MIAPOGO sambaSID: S-1-5-21-2139381707-154793685-3088283579 uidNumber: 550 gidNumber: 550 On Wed, 17 Aug 2005 15:15:05 -0400 <Tom.Tran at noaa.gov> wrote: > Hi, > > I have problems with following the instruction in the HOWTO:SAMBA > document. I have RedHat 4.1.18, samba-3.0.10, and > fedora-ds-7.1-2.RHEL4. I don't have ldap or openldap installed > because I am using fedora-ds > instead. I tested samba and fedora-ds, both seemed to work fine. I > also made sure that samba's daemons > (smbd, nmbd, winbindd), and fedora-ds were started > > I followed the steps in the HOWTO:SAMBA doc, when I reached the > step "Populating FDS with PDC > Entry" and ran the command: > # net getlocalsid > I got the message: > lib/smbldap.c:smbldap_search_domain_info(1392) > Adding domain info to SEFSC failed with NT_STATUS_UNSUCCESSFUL > SID for domain MIAPOGO is : > S-1-5-21-2139381707-154793685-3088283579 > > Here is my /etc/samba/smb.conf > ------------------------------ > # Global parameters > [global] > workgroup = SEFSC > netbios name = MIAPOGO > server string = Samba %u on (%L) > log file = /var/log/samba/%m.log > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = /etc/printcap > dns proxy = No > idmap uid = 16777216-33554431 > idmap gid = 16777216-33554431 > cups options = raw > > security = user > passdb backend = ldapsam:ldap://miapogo.sefsc.noaa.gov > ldap suffix = dc=sefsc,dc=noaa,dc=gov > ldap user suffix = ou=People > ldap machine suffix = ou=Computers > ldap group suffix = ou=Groups > > os level = 33 > domain logons = yes > domain master = yes > local master = yes > preferred master = yes > > wins support = yes > > logon home = \\%L\%u\profiles > logon path = \\%L\profiles\%u > logon drive = H: > > template shell = /bin/false > winbind use default domain = yes > > [netlogon] > path = /var/lib/samba/netlogon > read only = yes > 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 > -------------------------- > If I commentted out the line: passdb backend = > ldapsam:ldap://miapogo.sefsc.noaa.gov > then the command 'net getlocalsid' works. But I got more problems > when I continued following the instructions in the HOWTO:SAMBA. > > Please help! > > Tom Tran > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users -- # adam stokes # x44187