search for: map_username

Displaying 20 results from an estimated 73 matches for "map_username".

2006 Aug 28
1
tdbsam +Windows 2k/XP Change Password
...ndows Boxes. The get, you have not permission to change you password. Allow me to post my configurtation and some loggin.. With pam password change = yes check_ntlm_password: authentication for user [decoder] -> [decoder] -> [decoder] succeeded [2006/08/21 19:48:09, 0] lib/username.c:map_username(128) can't open username map /etc/samba/smbusers. Error No such file or directory [2006/08/21 19:48:09, 0] auth/pampass.c:smb_pam_chauthtok(692) PAM: UNKNOWN PAM ERROR (19) for User: decoder [2006/08/21 19:48:09, 2] auth/pampass.c:smb_pam_error_handler(73) smb_pam_error_handler: PAM: Passwo...
2007 Feb 07
0
Samba can't find unix accounts for user mapping
...count to the unix account admin (this is a local account on the samba server) all works fine. [2007/02/06 16:27:25, 3, effective(0, 0), real(0, 0)] smbd/sesssetup.c:reply_spnego_kerberos(207) Ticket name is [Administrator@WINDOWS.LOCAL] [2007/02/06 16:27:25, 3, effective(0, 0), real(0, 0)] smbd/map_username.c:map_username(155) Mapped user WINDOWS\Administrator to admin and I have access to the shares. But if I use a LDAP account (WINDOWS\raiweber mapping to raiweber) I get this messages and no access to the shares. [2007/02/07 14:39:47, 3, effective(0, 0), real(0, 0)] smbd/sesssetup.c:reply_spne...
2005 Jan 06
1
Administrator->root mapping not working on 3.0.10 (3.0.7 fine)
...versions of samba tested (2.2.x and 3.0.x), this means when we log on as administrator, we have root access and see the root share. With 3.0.10, we are continually prompted for a password. Log from 3.0.7 below: [2005/01/06 14:25:58, 4] /usr/pkgsrc/net/samba/work/samba-3.0.7/source/lib/username.c:map_username(132) Scanning username map /usr/pkg/etc/samba/smbusers [2005/01/06 14:25:58, 3] /usr/pkgsrc/net/samba/work/samba-3.0.7/source/lib/username.c:map_username(173) Mapped user Administrator to root [2005/01/06 14:25:58, 3] /usr/pkgsrc/net/samba/work/samba-3.0.7/source/auth/auth.c:check_ntlm_password...
2008 Jul 09
2
login fails if smbusers is used to map domain admin to root.
...e able to set file permissions from windows. Unfortunately, while the map itself seem to succeed, the logins fails. If i remove the relevant line in smbusers, login succeed but i lack superuser privileges. Here is log.smbd while trying to map administrator to root [2008/07/09 12:50:42, 4] smbd/map_username.c:map_username(145) Scanning username map /usr/local/samba/etc/smbusers [2008/07/09 12:50:42, 3] smbd/map_username.c:map_username(189) Mapped user DOMAIN\administrator to root [2008/07/09 12:50:42, 4] lib/substitute.c:automount_server(500) Home server: thumper [2008/07/09 12:50:42, 4] lib/...
2007 Nov 09
2
Mapped username then gets mapped to "Anonymous"
...smbd/sesssetup.c:reply_sesssetup_and_X(995) Domain=[OFFICE] NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2007/11/09 09:58:49, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1010) sesssetupX:name=[OFFICE]\[Luke]@[office] [2007/11/09 09:58:49, 3] smbd/map_username.c:map_username(54) Mapped user Luke to lpittman [2007/11/09 09:58:49, 3] smbd/sesssetup.c:check_guest_password(136) Got anonymous request [2007/11/09 09:58:49, 3] auth/auth.c:check_ntlm_password(221) check_ntlm_password: Checking password for unmapped user []\[]@[] with the new password int...
2003 Oct 08
1
Samba 3.0.0: option admin user not working in smb.conf?
...ave the user connect with root privileges to the Sambe share. Any help would be great. Thank you. log.smbd --------------------------------------------------------------- smbd version 3.0.0 started. Copyright Andrew Tridgell and the Samba Team 1992-2003 [2003/10/08 11:27:52, 1] lib/username.c:map_username(106) ##### Username Mapfile /opt/samba/private/username.map for user [2003/10/08 11:27:52, 1] lib/username.c:map_username(106) ##### Username Mapfile /opt/samba/private/username.map for user ingres [2003/10/08 11:27:52, 0] smbd/service.c:set_admin_user(314) ingres logged in as admin user (ro...
2006 Mar 17
1
getpwnam() fails for LDAP Users on AIX 5.3
...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) Tryin...
2002 Aug 18
2
Are these BUGS? anyone experienced either of these?
...= user1 nobody = user2 nobody = user3 ... !nobody = user99 nobody = * ;The ! means to stop processing file after this line if a match has already been made. ;Otherwise, process the next line... samba log file [2002/08/16 16:20:27, 3] lib/username.c:map_username(168) Mapped user Administrator to smbadmin [2002/08/16 16:20:27, 3] lib/username.c:map_username(168) Mapped user smbadmin to nobody 2. Samba tools not processing "config file" I use the "config file" parameter in my conf file (allows me to use differe...
2012 May 03
2
username map not working to 3.6.3 (security =ADS)
...AD Windows 2008R2. ? I'm not use windbind in my configuration. ? I've got this messages ? [2012/04/27 13:39:10.550408,? 3] auth/user_krb5.c:50(get_user_from_kerberos_info) ? Kerberos ticket principal name is [Minh.HUYNH at EXAMPLE.COM] [2012/04/27 13:39:10.550519,? 3] auth/user_util.c:402(map_username) ? Mapped user ALFRGIS\user-metal to metal [2012/04/27 13:39:10.571135,? 3] auth/auth_util.c:1028(check_account) ? Failed to find authenticated user ALFRGIS\user-metal via getpwnam(), denying access. [2012/04/27 13:39:10.571221,? 1] auth/user_krb5.c:211(make_server_info_krb5) ? make_server_info_inf...
2003 Jun 09
0
Samba 3.0.0beta1, NT4 Joining a Domain Problems
...3 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(654) Domain=[CMBN-B03] NativeOS=[Windows NT 1381] NativeLanMan=[] [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(665) sesssetupX:name=[CMBN-B03]\[administrator]@[cmbn-b03] [2003/06/08 20:49:35, 4] lib/username.c:map_username(132) Scanning username map /usr/local/samba3/lib/users.map [2003/06/08 20:49:35, 3] lib/username.c:map_username(173) Mapped user administrator to root [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(216) check_ntlm_password: Checking password for unmapped user [CMBN-B03]\[administra...
2002 Jul 30
1
Trying to debug a WinXP - Win2000 ADS problem.. HELP!
...) wct=12 flg2=0xc807 [2002/07/30 12:59:45, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(534) Doing spnego session setup [2002/07/30 12:59:45, 3] smbd/sesssetup.c:reply_spnego_auth(414) Got user=[CLAD] workgroup=[CT] machine=[78BWCWF] len1=24 len2=24 [2002/07/30 12:59:45, 4] lib/username.c:map_username(132) Scanning username map /opt/samba/lib/users.map [2002/07/30 12:59:45, 3] lib/username.c:map_username(173) Mapped user CLAD to www [2002/07/30 12:59:45, 5] auth/auth_util.c:make_user_info_map(175) make_user_info_map: Mapping user [CT]\[CLAD] from workstation [78BWCWF] [2002/07/30 12:59:45,...
2004 Jul 06
3
bug in parsing the 'username map' in 3.0.5pre1
Hi Jerry et al, the parsing of the 'username map' file seems to be broken in 3.0.5pre1 and a few earlier releases. The '!' at the beginning of a line is ignored. Something like !lp = lp !chbeyer = chbeyer !guest = guest nobody = * doesn't work anymore :-( from the man page: [ snip ] If any line begins with an '!' then the processing will stop
2002 Aug 15
0
Small Bug with username map (2.2.5)
...laris 8 smbadmin = administrator Administrator nobody = user1 nobody = user2 nobody = user3 ... !nobody = user99 nobody = * ;The ! means to stop processing file after this line if a match has already been made. ;Otherwise, process the next line... [2002/08/16 16:20:27, 3] lib/username.c:map_username(168) Mapped user Administrator to smbadmin [2002/08/16 16:20:27, 3] lib/username.c:map_username(168) Mapped user smbadmin to nobody ************************************************************ Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland D...
2003 Nov 05
1
smbusers and wildcards
...s this true? It appears like samba is rolling down the smbusers file and everything gets mapped to my wildcard user. Eg. smbusers: root = administrator admin nobody = guest pcguest smbguest myunixlogin = mysmblogin www-users = * If I map a drive as mysmblogin in my log I get: lib/username.c: map_username(160) Mapped user mysmblogin to myunixlogin lib/username.c: map_username(160) Mapped user myunixlogin to www-users I am using security=server in my smb.conf to authenticate against a NT domain controller. It is my understanding that samba should stop at the first match it finds in smbusers, but...
2004 Oct 08
0
(retry) 3.0.7: username map doesn't work with security=ADS
...r AD username. Even though I have a username map file set up, samba didn't seem to be using it. This bug appeared somewhere between 3.0.2a and 3.0.6. When we were on 3.0.2a, the username map worked. I looked at the code, and found a problem in smbd/sesssetup.c: reply_spnego_kerberos() calls map_username() with "DOMAIN\username" but map_username() expects the username without the domain. So, as a workaround, I could change my usermap file to include the domain with the usernames; e.g., unixuser = pcuser SAMPLE.COM\pcuser but that's kind of clunky. So instead I created a patch for...
2007 Oct 12
0
DFS access
...= /data/sites/share printable = no browseable = no write list = @sysman valid users = @sysman force user = sysman force group = sysman The log file (sanitized) only reports: [2007/10/12 13:17:45, 0] smbd/map_username.c:map_username(107) can't open username map /etc/samba/username.map. Error No such file or directory [2007/10/12 13:17:45, 1] smbd/sesssetup.c:reply_spnego_kerberos(310) Username STATS\CLIENT$ is invalid on this system Both SaMBa servers have no username.map, and the CLIENT machine works w...
2006 Sep 18
0
Segfault in Samba
...6d123 in user_in_group (username=0xbfffe8e0 "DELSOLW2K\\Dale", groupname=0x83834a1 "DELSOLW2K\\Domain Admins") at auth/auth_util.c:1308 #13 0x0809841c in user_in_list (user=0xbfffe8e0 "DELSOLW2K\\Dale", list=0x83ef350) at smbd/password.c:520 #14 0x08094002 in map_username (user=0xbfffe8e0 "DELSOLW2K\\Dale") at smbd/map_username.c:162 #15 0x080bece7 in reply_spnego_kerberos (conn=0x0, inbuf=0x407ab008 "", outbuf=0x407cc008 "", length=1458, bufsize=131072, secblob=0xbfffeb60) at smbd/sesssetup.c:292 #16 0x080bfc05 in reply_sp...
2002 Jul 31
1
Trying to debug a WinXP - Win2000 ADS problem..HELP!
...) wct=12 flg2=0xc807 [2002/07/30 12:59:45, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(534) Doing spnego session setup [2002/07/30 12:59:45, 3] smbd/sesssetup.c:reply_spnego_auth(414) Got user=[CLAD] workgroup=[CT] machine=[78BWCWF] len1=24 len2=24 [2002/07/30 12:59:45, 4] lib/username.c:map_username(132) Scanning username map /opt/samba/lib/users.map [2002/07/30 12:59:45, 3] lib/username.c:map_username(173) Mapped user CLAD to www [2002/07/30 12:59:45, 5] auth/auth_util.c:make_user_info_map(175) make_user_info_map: Mapping user [CT]\[CLAD] from workstation [78BWCWF] [2002/07/30 12:59:45,...
2003 Nov 26
3
Failed to verify incoming ticket!
...e messages: Nov 26 11:10:05 samba winbindd[26631]: [2003/11/26 11:10:05, 0] nsswitch/winbindd_util.c:rescan_trusted_domains(172) Nov 26 11:10:05 samba winbindd[26631]: rescan_trusted_domains: Can't find my own domain! Nov 26 11:10:50 samba smbd[26636]: [2003/11/26 11:10:50, 0] lib/username.c:map_username(128) Nov 26 11:10:50 samba smbd[26636]: can't open username map /etc/samba/smbusers. Error No such file or directory Ok, /etc/samba/smbusers is missing. But why? I have no idea, where to search further. Please give me any hints. Mit freundlichen Gr??en Wolfgang Wagner -- Systemadmini...
2006 Aug 18
8
Strange Usermapping problem with 3.0.23b
Yesterday evening I upgraded my FreeBSD 5.5-RELEASE Server from Samba 3.0.22 to 3.0.23. This gave me a LOT of work today... :-( This is what I found so far: My Samba-Server is member of a large ADS-Domain. After the upgrade, file based Usermapping didn't work anymore... better: it worked TWICE. (I once opened a PR for that a few years ago :-). So, with LogLevel 3: