Hello List, below our smb.conf and loglevel 5 output of a failed authentication. We want to get the Unix User details from MS-SFU using the new idmap_ad Backend. If the Windows User is mapped to local name it's all fine. But if we want to use our SFU Users it fails. We believe getpwnam() on AIX is faulty. "id username" and login works for all users local and AD! Any ideas how to handle, get around this,or solve it differently ? Best Dan smb.conf: [global] workgroup = WG realm = WG.OURREALM.COM server string = host_name (Samba Server) security = ADS idmap backend = idmap_ad username map = /etc/samba/smbusers winbind use default domain = Yes winbind trusted domains only = yes log level = 5 log.smbd: [2006/03/17 14:10:09, 4] lib/username.c:map_username(143) Scanning username map /etc/samba/smbusers [2006/03/17 14:10:09, 3] lib/username.c:map_username(184) Mapped user WG\pawisda to pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_alloc(290) Finding user pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(234) Trying _Get_Pwnam(), username as lowercase is pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(252) Trying _Get_Pwnam(), username as uppercase is PAWISDA [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(261) Checking combinations of 0 uppercase letters in pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(267) Get_Pwnam_internals didn't find user [pawisda]! [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_alloc(290) Finding user pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(234) Trying _Get_Pwnam(), username as lowercase is pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(252) Trying _Get_Pwnam(), username as uppercase is PAWISDA [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(261) Checking combinations of 0 uppercase letters in pawisda [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(267) Get_Pwnam_internals didn't find user [pawisda]! [2006/03/17 14:10:09, 1] smbd/sesssetup.c:reply_spnego_kerberos(303) Username pawisda is invalid on this system
Our Version is 3.0.21c --sorry forgot Best Dan> Hello List, > > below our smb.conf and loglevel 5 output of a failed authentication. We > want to get the Unix User details from MS-SFU using the new idmap_ad > Backend. > If the Windows User is mapped to local name it's all fine. But if we want > to use our SFU Users it fails. We believe getpwnam() on AIX is faulty. > "id username" and login works for all users local and AD! > > Any ideas how to handle, get around this,or solve it differently ? > > Best > Dan > > smb.conf: > [global] > workgroup = WG > realm = WG.OURREALM.COM > server string = host_name (Samba Server) > security = ADS > idmap backend = idmap_ad > username map = /etc/samba/smbusers > winbind use default domain = Yes > winbind trusted domains only = yes > log level = 5 > > log.smbd: > > [2006/03/17 14:10:09, 4] lib/username.c:map_username(143) > Scanning username map /etc/samba/smbusers > [2006/03/17 14:10:09, 3] lib/username.c:map_username(184) > Mapped user WG\pawisda to pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_alloc(290) > Finding user pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(234) > Trying _Get_Pwnam(), username as lowercase is pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(252) > Trying _Get_Pwnam(), username as uppercase is PAWISDA > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(261) > Checking combinations of 0 uppercase letters in pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(267) > Get_Pwnam_internals didn't find user [pawisda]! > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_alloc(290) > Finding user pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(234) > Trying _Get_Pwnam(), username as lowercase is pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(252) > Trying _Get_Pwnam(), username as uppercase is PAWISDA > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(261) > Checking combinations of 0 uppercase letters in pawisda > [2006/03/17 14:10:09, 5] lib/username.c:Get_Pwnam_internals(267) > Get_Pwnam_internals didn't find user [pawisda]! > [2006/03/17 14:10:09, 1] smbd/sesssetup.c:reply_spnego_kerberos(303) > Username pawisda is invalid on this system > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >