-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've upgraded to 3.0.25b, and I can't seem to get it
running for more than a few minutes before it starts
failing to find users...
This is my smb.conf:
- ----- s n i p -----
[global]
workgroup = FREQVIST
netbios name = CELIA
server string = %h server (Samba %v)
idmap backend = ldap:ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
username map = /etc/samba/smbusers
passdb backend = ldapsam:ldap://127.0.0.1
ldap suffix = o=FREQVIST,c=SE
ldap admin dn = uid=samba,ou=People,o=system,c=se
ldap machine suffix = ou=Computers
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap ssl = off
ldap passwd sync = Yes
password server = 192.168.1.8
encrypt passwords = true
passwd program = /bin/passwd %u
passwd chat = *new*password* %n\\n*new*password* %n\\n *changed*
passwd chat debug = Yes
winbind separator = \\
winbind cache time = 10
winbind use default domain = yes
winbind offline logon = yes
template shell = /bin/bash
template homedir = /home/%U
syslog = 3
log file = /var/log/samba/samba.log
debug pid = Yes
debug uid = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
IPTOS_LOWDELAY IPTOS_THROUGHPUT
logon script = tid.bat
logon home = \\%N\%U\.profile
domain master = True
domain logons = Yes
client schannel = no
preferred master = True
os level = 70
dns proxy = No
wins support = yes
time server = Yes
hosts allow = 192.168.1.
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
add machine script = /etc/samba/adduser.sh %u
add user script = /etc/samba/adduser.sh %u
- ----- s n i p -----
And if I try to authenticate, this is what I get in the log:
- ----- s n i p -----
[2007/08/02 02:56:33, 0, pid=4768, effective(0, 0), real(0, 0)]
passdb/pdb_get_set.c:pdb_get_group_sid(211)
pdb_get_group_sid: Failed to find Unix account for martina
[2007/08/02 02:56:33, 1, pid=4768, effective(0, 0), real(0, 0)]
auth/auth_util.c:make_server_info_sam(566)
User martina in passdb, but getpwnam() fails!
[2007/08/02 02:56:33, 0, pid=4768, effective(0, 0), real(0, 0)]
auth/auth_sam.c:check_sam_security(352)
check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
- ----- s n i p -----
And the client say:
- ----- s n i p -----
[turbo-laptop2.pts/3]$ smbclient -U martina -L celia
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
- ----- s n i p -----
Any idea?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFGsSsomlWzPKccHgARAgOaAJ9cqzJq9TDZcffhgtwhGaKzVqvKJwCfSp63
S9z8f3Qx3X3mcKAXN9SKN94=6V6o
-----END PGP SIGNATURE-----