git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559439e
)
Correctly detect an "add user script" - check that *lp_adduser_script() != '\0',
author
Jeremy Allison
<jra@samba.org>
Sat, 26 Jul 2003 01:21:06 +0000
(
01:21
+0000)
committer
Jeremy Allison
<jra@samba.org>
Sat, 26 Jul 2003 01:21:06 +0000
(
01:21
+0000)
not lp_adduser_script() != NULL.
Jeremy.
(This used to be commit
2eac65ebe7147b36a34e0ca1c3f455f559ab0361
)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index 3a95ae591d12271785987a74f3f897ba2b47f059..5403ee8c39a5999b0eb5d1084d441513bf59cb43 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-68,7
+68,7
@@
void auth_add_user_script(const char *domain, const char *username)
* user on the fly, do so.
*/
- if (
lp_adduser_script() )
+ if (
*lp_adduser_script() )
smb_create_user(domain, username, NULL);
else {
DEBUG(10,("auth_add_user_script: no 'add user script'. Asking winbindd\n"));