VS: [Samba] Samba PDC and home share
Mika Syvänen
mika.syvanen at kolumbus.fi
Sun Jan 30 20:34:45 GMT 2005
Hi
thaks from message
this is more informations..
Problem:
We have samba PDC server (redhat enteprice 3 update 4) samba 3.07 passdb
backend = ldapsam
Login to domain work ok but user can't map user home drive from samba pdc
server.
in log /var/log/samba/HOPPAWS
[2005/01/29 18:11:12, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [hoppa] -> [hoppa] FAILED
with error NT_STATUS_WRONG_PASSWORD
/etc/samba/smb.conf
[root at hcmlinux root]# more /etc/samba/smb.conf
# Global parameters
[global]
unix charset = ISO8859-15
dos charset = 850
netbios name = hhplinux
workgroup = HHP
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend = ldapsam:ldap://127.0.0.1
username map = /etc/samba/smbusers
log level = 4
syslog = 0
log file = /var/log/samba/%m
max log size = 0
smb ports = 139 445
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
add user script = /usr/local/sbin/smbldap-useradd -a -m '%u'
delete user script = /usr/local/sbin/smbldap-userdel %u
add group script = /usr/local/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/local/sbin/smbldap-groupdel '%g'
add user to group script = /usr/local/sbin/smbldap-groupmod -m '%g'
'%u'
delete user from group script = /usr/local/sbin/smbldap-groupmod -x
'%g'
'%u'
set primary group script = /usr/local/sbin/smbldap-usermod -g '%g'
'%u'
add machine script = /usr/local/sbin/smbldap-useradd -w '%u'
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
logon script = scripts\logon.bat
logon path = \\hhplinux\profiles\%U
logon drive = X:
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
wins support = Yes
ldap suffix = dc=mission,dc=fi
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=mission,dc=fi
idmap backend = ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
printer admin = root
map acl inherit = Yes
printing = cups
security = user
encrypt passwords = Yes
lanman auth = Yes
# hosts allow = 192.168.1. 192.168.2. 127.
[IPC$]
path = /tmp
[accounts]
comment = Accounting Files
path = /data/accounts
read only = No
[service]
comment = Financial Services Files
path = /data/service
read only = No
[pidata]
comment = Property Insurance Files
path = /data/pidata
read only = No
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = Yes
writable = Yes
[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[apps]
comment = Application Files
path = /apps
admin users = bjones
read only = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
admin users = root, Administrator
guest ok = Yes
locking = No
[profiles]
comment = Profile Share
path = /var/lib/samba/profiles
read only = No
profile acls = Yes
[profdata]
comment = Profile Data Share
path = /var/lib/samba/profdata
read only = No
profile acls = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
admin users = root, Administrator
[root at hhplinux root]# pdbedit -L | grep hoppa
hoppa:1027:System User
[root at hhplinux root]# getent passwd | grep hoppa
hoppa:x:1027:513:System User:/home/jussim:/bin/bash
[root at hhplinux root]# getent passwd | grep HOPPAWS$
HOPPAWS$:x:1074:515:Computer:/dev/null:/bin/false
[root at hhplinux root]# pdbedit -L | grep HOPPAWS$
HOPPAWS$:1074:Computer
More information about the samba
mailing list