Displaying 5 results from an estimated 5 matches for "lp_winbind_separator".
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
2015 Feb 02
1
Can login with a bogus username which ends with a "/" or a "\"
...ticate and calls cli_session_setup_guest() to log in anonymously. This is done in cli_session_setup():
                /* allow for workgroups as part of the username */
                if ((p=strchr_m(user2,'\\')) || (p=strchr_m(user2,'/')) ||
                    (p=strchr_m(user2,*lp_winbind_separator()))) {
                                *p = 0;
                                user = p+1;
                                if (!strupper_m(user2)) {
                                                return NT_STATUS_INVALID_PARAMETER;
                                }...
2002 Aug 30
4
Enhancement of wbinfo in samba2.2.6pre2
Hi,
Most of the samba-commands takes a option for smb.conf file
exept for wbinfo.
It should be nice to have that functionallity in wbinfo also.
/Patrik
-- 
"In a world without fences who needs Gates"
Patrik Gustavsson, Senior Technical Consultant
patrik.gustavsson@sun.com     Telephone: +46 60 671540
http://glen.sweden            Mobile: +46 70 3551040
SUN MICROSYSTEMS             
2003 Jul 03
0
patch to fix silly bug in 3.0.0beta2
...trusted users will be of the form DOMAIN\user so strip 
+	   out the domain portion.  I noticed then when looking at an SMBsessionsetup&X.
+	   The client was sending GLASS\Administrator as the username and GLASS as the 
+	   domain name -- jerry */
+	   
+	if ( (username = strchr( user_name, *lp_winbind_separator() )) != NULL )
+		username++;
+	else
+		username = user_name;
+		
+		
+	len_user_name    = strlen(username    );
 	len_full_name    = strlen(full_name   );
 	len_home_dir     = strlen(home_dir    );
 	len_dir_drive    = strlen(dir_drive   );
@@ -1306,6 +1321,7 @@
 
 	usr->ptr_user_info = 1; /* y...
2003 Feb 21
0
Samba + LDAP segfaulting
...of assembler code for function winbind_initgroups:
0x124630 <winbind_initgroups>:  save  %sp, -120, %sp
0x124634 <winbind_initgroups+4>:        mov  %i0, %l1
0x124638 <winbind_initgroups+8>:        clr  [ %fp + -20 ]
0x12463c <winbind_initgroups+12>:       call  0x78268 <lp_winbind_separator>
0x124640 <winbind_initgroups+16>:       sethi  %hi(0x197000), %l0
0x124644 <winbind_initgroups+20>:       ldsb  [ %o0 ], %o1
0x124648 <winbind_initgroups+24>:       ld  [ %l0 + 0x3ac ], %o2
0x12464c <winbind_initgroups+28>:       call  %o2
0x124650 <winbind_initgroups...