bspaz n00b

Joined: 14 Aug 2008 Posts: 1
|
Posted: Thu Aug 14, 2008 4:55 pm Post subject: Samba Errors |
|
|
I receive the following errors from a gentoo samba domain member. Again this machine is a domain member, and not a PDC nor BDC
[2008/08/14 12:41:43, 0, effective(0, 0), real(0, 0)] passdb/passdb.c:lookup_global_sam_name(596)
User tempuser with invalid SID S-1-5-21-3282916141-1052859202-546431355-3016 in passdb
The machine using pam, nsswitch, and samba effectively lists samba users using all of the following commands.
machine:/var/log# id tempuser
uid=1008(tempuser) gid=513(Domain Users) groups=513(Domain Users),512(Domain Admins),544(Administrators)
machine:/var/log# smbpasswd -D 10 tempuser
Netbios name list:-
my_netbios_names[0]="machine2"
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Attempting to register passdb backend NDS_ldapsam_compat
Successfully added passdb backend 'NDS_ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to find an passdb backend to match ldapsam:ldap://[OMITTED] (ldapsam)
Found pdb backend ldapsam
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=[OMITTED]))]
smbldap_search_ext: base => [dc=lsn,dc=local], filter => [(&(objectClass=sambaDomain)(sambaDomainName=machine2))], scope => [2]
The connection to the LDAP server was closed
smb_ldap_setup_connection: ldap://[OMITTED]
smbldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server ldap://[OMITTED] as "[OMITTED]"
ldap_connect_system: succesful connection to the LDAP server
ldap_connect_system: LDAP server does support paged results
The LDAP server is succesfully connected
pdb backend ldapsam:ldap://[OMITTED] has a valid init
New SMB password:
Retype new SMB password:
....
...
..
.....
...
..
Global Samba Config for this machine
[global]
#SERVER
workgroup = [OMITTED]
netbios name=%h
server string=%h
os level=2
preferred master=no
domain master=no
local master=no
printcap name = /etc/printcap
load printers = no
printing =
#LDAP AND USERS
passdb backend = ldapsam:ldap://[OMITTED]
ldap admin [OMITTED]
ldap suffix = dc=lsn,dc=local
ldap delete dn = no
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Users
ldap passwd sync = yes
#RESOLUTION
wins server=10.227.1.9
name resolve order=wins hosts bcast lmhosts
dns proxy=yes
#CONNECTION
smb ports = 139
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
#LOCKING AND OPLOCKS, NFS REQUIREMENTS
locking=no
oplocks=no
use sendfile=no
level2 oplocks=no
#SECURITY
security=domain
encrypt passwords = true
guest ok=no
enable privileges=yes
map to guest=bad user
#LOGGING AND DEBUGGING
log level = 0
max log size = 100
debug timestamp = yes
debug uid = yes
log file = /var/log/samba.log
syslog = 0
time server=no
null passwords=no
Again I have the following error in my samba log
[2008/08/14 12:41:43, 0, effective(0, 0), real(0, 0)] passdb/passdb.c:lookup_global_sam_name(596)
User tempuser with invalid SID S-1-5-21-3282916141-1052859202-546431355-3016 in passdb
Any ideas? |
|