The Samba-Bugzilla – Attachment 2310 Details for
Bug 4415
Long usernames mapping in the username.map
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to map long usernames in "security=domain" mode
auth_util.c.patch (text/plain), 799 bytes, created by
Martin Kraemer
on 2007-02-26 09:45:46 UTC
(
hide
)
Description:
Patch to map long usernames in "security=domain" mode
Filename:
MIME Type:
Creator:
Martin Kraemer
Created:
2007-02-26 09:45:46 UTC
Size:
799 bytes
patch
obsolete
>diff --exclude=config.log --exclude='*.o' --exclude='*.a' --exclude='*~' --exclude=cscope.out --exclude='*.out' --exclude=getdate.c --exclude=getdate.h -burp samba-3.0.24.orig/source/auth/auth_util.c samba-3.0.24/source/auth/auth_util.c >--- samba-3.0.24.orig/source/auth/auth_util.c 2007-02-04 19:59:14.000000000 +0100 >+++ samba-3.0.24/source/auth/auth_util.c 2007-02-26 11:19:55.736309000 +0100 >@@ -1596,6 +1596,10 @@ struct passwd *smb_getpwnam( TALLOC_CTX > p++; > fstrcpy( strip_username, p ); > fstrcpy( username, strip_username ); >+#if 1 /* Think of a "username = LONGUSERNAME" mapping in the username.map (for DOM\LONGUSERNAME) */ >+ /* The name as used for SAM authentication may have been mapped locally */ >+ map_username(username); >+#endif > } > > /* just lookup a plain username */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4415
: 2310