Andrew Tridgell
2ff88386d5
s4-winbindd: implement WINBINDD_SIDS_TO_XIDS
...
this fixes wbinfo --sids-to-unix-ids
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08 15:09:54 +02:00
Günther Deschner
34722c72f6
pam: share pam errors in a common location.
...
Guenther
2011-02-08 14:05:36 +01:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Andrew Bartlett
8da50c8da1
s4:winbindd Rework some winbind structures to make s3compat easier
...
By making the winbindd_request and winbindd_response structures
pointers, we can more easily integrate with the winbindd from
source3/winbindd
Andrew Bartlett
2010-05-14 23:25:45 +10:00
Stefan Metzmacher
23fd76433a
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERS
...
metze
2010-04-19 16:09:14 +02:00
Stefan Metzmacher
629e73eeed
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPS
...
metze
2010-04-19 16:09:14 +02:00
Stefan Metzmacher
da17719241
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOM
...
metze
2010-04-19 16:09:14 +02:00
Stefan Metzmacher
a1cf6a52af
s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not the pipe path
...
metze
2010-04-15 09:34:02 +02:00
Matthias Dieter Wallnöfer
2ee3cca4ff
s4:winbind - use "unsigned" variables where possible
2010-03-09 17:54:12 +01:00
Matthieu Patou
bc766a9a84
s4:winbind: stub implementation of WINBINDD_PAM_LOGOFF
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:31 +01:00
Matthieu Patou
238ff24341
s4:winbind: Fix a misplaced returned info
...
libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:30 +01:00
Matthieu Patou
42b5b38187
s4:winbind Implement logic for getgroups to work
...
This function is called by the system everytime we do a id user or when we do wbinfo -r
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:30 +01:00
Matthieu Patou
30baf31411
s4:winbind: implement calls for allowing getent groups
...
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:30 +01:00
Andrew Tridgell
7f1832c469
s4: ran minimal_includes.pl on source4/winbind
2009-10-20 16:04:51 +11:00
Andrew Tridgell
83e9b1c325
s4-winbind: support the s3 response flags on krb5 auth too
...
This fixes the samba4.blackbox.wbinfo test, which was failing on a
wbinfo -K command
2009-10-02 22:17:42 +10:00
Andrew Tridgell
68e1991c6c
s4-winbind: support the Samba3 TXT form of the info3 for wbinfo -a
...
This sends the info3 as hand marshalled data
2009-10-02 21:36:56 +10:00
Kai Blin
dd8d04f9fa
s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warning
2009-08-18 21:48:41 +02:00
Kai Blin
7cafb65387
s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFO
2009-08-18 20:26:10 +02:00
Kai Blin
a0abb933d2
s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
2009-01-15 10:35:00 +01:00
Kai Blin
120dc0e5aa
s4 winbind: Correctly silence a "discard const" warning
...
Thanks to metze for pointing out the error.
2009-01-02 23:42:55 +01:00
Stefan Metzmacher
a54c558ca6
Revert "s4 winbind: Avoid a "discards const" compiler warning."
...
This reverts commit dd8d4b6fd1
.
s3call->response.extra_data.data is a pointer and no fstring!
metze
2009-01-02 17:56:41 +01:00
Kai Blin
1180b6964f
s4 winbind: Add support for WINBINDD_GETGRGID call
2008-12-29 12:52:27 +01:00
Kai Blin
777350ee91
s4 winbind: Add implementation for WINBINDD_GETGRNAM
2008-12-29 12:52:27 +01:00
Kai Blin
dd8d4b6fd1
s4 winbind: Avoid a "discards const" compiler warning.
2008-12-29 12:52:26 +01:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Andrew Bartlett
ba22de3d4f
Return the same privilaged winbindd socket as we actually use.
...
Andrew Bartlett
(This used to be commit 2209787812
)
2008-09-10 14:08:40 +10:00
Tiago Batista
674d089bea
Tiago Batista posted a patch to fix the build:
...
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.
Andrew Bartlett
(This used to be commit 95831a015a
)
2008-05-06 08:12:03 +10:00
Andrew Bartlett
bfbcfc41f5
Fix samba3 protocol to correctly include the NULL terminator
...
Andrew Bartlett
(This used to be commit fa45991303
)
2008-04-18 11:37:43 +02:00
Jelmer Vernooij
1efbd5fbf6
Remove event context tracking from the credentials struct.
...
(This used to be commit 4d7fc946b2
)
2008-04-17 01:03:18 +02:00
Andrew Bartlett
a58df2f54c
Fix struct_based winbind test for 'check machine account'.
...
The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.
Andrew Bartlett
(This used to be commit df05f11883
)
2008-04-16 16:11:17 +02:00
Andrew Bartlett
e0eba5232d
Fix winbind to check machine account.
...
This enables 'wbinfo -t', by checking the machine account with a
SamLogon call.
Andrew Bartlett
(This used to be commit abefa12029
)
2008-04-15 16:29:13 +02:00
Jelmer Vernooij
b83a7a135f
r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection.
...
(This used to be commit 7c00866423
)
2007-12-21 05:47:47 +01:00
Jelmer Vernooij
934e932387
r26235: Avoid global_loadparm.
...
(This used to be commit e903978220
)
2007-12-21 05:47:13 +01:00
Jelmer Vernooij
2f3551ca7c
r25446: Merge some changes I made on the way home from SFO:
...
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e77
)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597
)
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
7d554e4104
r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
...
metze
(This used to be commit 1fc3a37902
)
2007-10-10 15:06:44 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Kai Blin
084036d78a
r24577: Implement basic getpwent.
...
This one still cheats and only returns one winbindd_pw structure per call.
Also, doesn't get a new libnet_UserList yet.
(This used to be commit e1b93be1e1
)
2007-10-10 15:02:19 -05:00
Kai Blin
67a9225b9b
r24576: Implement endpwent
...
(This used to be commit ef93a7991d
)
2007-10-10 15:02:19 -05:00
Kai Blin
01db94b953
r24575: Implement setpwent
...
(This used to be commit 9bbbedac99
)
2007-10-10 15:02:18 -05:00
Kai Blin
46435bbcd0
r24574: Fix a warning in wb_samba3_cmd.c
...
(This used to be commit ebdd03ee9e
)
2007-10-10 15:02:18 -05:00
Kai Blin
01e911ff5b
r24483: Implement backend for wbinfo -u (list users)
...
(This used to be commit 9fbc8aa15f
)
2007-10-10 15:01:57 -05:00
Kai Blin
c0e145f698
r24480: Bump another DEBUG down to level 5
...
(This used to be commit 6e6eac551a
)
2007-10-10 15:01:56 -05:00
Kai Blin
477e1e9e19
r24397: Bump debug level of sid2(u|g)id calls to 5.
...
(This used to be commit ef9bc55a6b
)
2007-10-10 15:01:50 -05:00
Kai Blin
a4439c5a1f
r24375: Implement backend for wbinfo --uid-infp (getpwuid)
...
(This used to be commit 760973856f
)
2007-10-10 15:01:48 -05:00
Kai Blin
677ccf3047
r24373: Implement backend for wbinfo -G (gid2sid)
...
(This used to be commit e928e56219
)
2007-10-10 15:01:47 -05:00
Kai Blin
e1c832521f
r24372: Implement backend for wbinfo -U
...
(This used to be commit a18cf553cf
)
2007-10-10 15:01:47 -05:00
Kai Blin
9b30c7c008
r24371: Actually add the glue to make wbinfo -S and wbinfo -Y work
...
(This used to be commit a8893b3078
)
2007-10-10 15:01:46 -05:00