diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-12 06:30:45 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-12 06:30:45 +0000 |
commit | 479c73559e137a406f912f8e262e1658861dc9db (patch) | |
tree | 66f9a62b59164387fad03d01b0b00386b4fdaecd /source3/lib | |
parent | 5379476d4d38ea164ebda5f39cadb68c2350c399 (diff) | |
download | samba-479c73559e137a406f912f8e262e1658861dc9db.tar.gz samba-479c73559e137a406f912f8e262e1658861dc9db.tar.bz2 samba-479c73559e137a406f912f8e262e1658861dc9db.zip |
use "winbind separator" option for domain/user separator character
(This used to be commit 6cbb826b154e61085fd651116caf472d4d438c1d)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/username.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c index 2620d74eba..d253f9ba64 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -443,17 +443,3 @@ struct passwd *smb_getpwnam(char *user, BOOL allow_change) return NULL; } -int smb_initgroups(char *user, char *domain, gid_t group) -{ - fstring userdom; - int ret; - - ret = initgroups(user, group); - if (ret==0 || !domain || !*domain) return ret; - - slprintf(userdom, sizeof(userdom), "%s/%s", domain, user); - - DEBUG(4,("smb_initgroups trying userdom %s\n", userdom)); - - return initgroups(userdom, group); -} |