[Fedora-directory-users] Samba - Fedora-ds Integration (HOWTO:SAMBA)
Tom.Tran at noaa.gov
Tom.Tran at noaa.gov
Wed Aug 17 19:15:05 UTC 2005
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
More information about the Fedora-directory-users
mailing list