Stefan Metzmacher
6223c7fddc
r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
...
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/
metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
9243b551f3
r25454: Use standard bool types in a couple more places.
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
3468952e77
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.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
3fcc960839
r25398: Parse loadparm context to all lp_*() functions.
2007-10-10 15:07:25 -05:00
Jeremy Allison
0844dbf597
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
1fc3a37902
r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
...
metze
2007-10-10 15:06:44 -05:00
Jelmer Vernooij
abe8349f9b
r25026: Move param/param.h out of includes.h
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
0bcb21ed74
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
1ce32673d9
r24712: No longer expose the 'BOOL' data type in any interfaces.
2007-10-10 15:02:54 -05:00
Kai Blin
e1b93be1e1
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.
2007-10-10 15:02:19 -05:00
Kai Blin
ef93a7991d
r24576: Implement endpwent
2007-10-10 15:02:19 -05:00
Kai Blin
9bbbedac99
r24575: Implement setpwent
2007-10-10 15:02:18 -05:00
Kai Blin
ebdd03ee9e
r24574: Fix a warning in wb_samba3_cmd.c
2007-10-10 15:02:18 -05:00
Stefan Metzmacher
84651aee81
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
184a7cfc36
r24556: forgot to commit the winbind/ subdir...sorry
...
metze
2007-10-10 15:02:14 -05:00
Kai Blin
0454edc958
r24486: Bump another DEBUG to level 5
2007-10-10 15:01:58 -05:00
Kai Blin
9fbc8aa15f
r24483: Implement backend for wbinfo -u (list users)
2007-10-10 15:01:57 -05:00
Kai Blin
6e6eac551a
r24480: Bump another DEBUG down to level 5
2007-10-10 15:01:56 -05:00
Kai Blin
ef9bc55a6b
r24397: Bump debug level of sid2(u|g)id calls to 5.
2007-10-10 15:01:50 -05:00
Kai Blin
abf631822d
r24396: Fix a typo.
...
Thanks to metze (metze@samba.org ) for catching this one.
2007-10-10 15:01:50 -05:00
Kai Blin
754b9ff696
r24395: Add check if talloc_strdup worked.
2007-10-10 15:01:49 -05:00
Kai Blin
c81b0980ca
r24376: Missed this file from the checkin, sorry.
2007-10-10 15:01:49 -05:00
Kai Blin
760973856f
r24375: Implement backend for wbinfo --uid-infp (getpwuid)
2007-10-10 15:01:48 -05:00
Kai Blin
e928e56219
r24373: Implement backend for wbinfo -G (gid2sid)
2007-10-10 15:01:47 -05:00
Kai Blin
a18cf553cf
r24372: Implement backend for wbinfo -U
2007-10-10 15:01:47 -05:00
Kai Blin
a8893b3078
r24371: Actually add the glue to make wbinfo -S and wbinfo -Y work
2007-10-10 15:01:46 -05:00
Kai Blin
3b8d8fb2c1
r24370: Implement wbinfo -i backend (getpwnam)
2007-10-10 15:01:46 -05:00
Kai Blin
4305fab4a2
r24369: Don't use goto in wb_name2domain, fix wb_samba3_split_names call.
...
Missed this one on my previous name2domain cleanup patch.
2007-10-10 15:01:45 -05:00
Kai Blin
599416ca31
r24366: Implemet backend for wbinfo -Y, sid2gid
2007-10-10 15:01:45 -05:00
Kai Blin
682e7124fb
r24365: Implemet backend for wbinfo -S, sid2uid
2007-10-10 15:01:44 -05:00
Kai Blin
95783210d2
r24364: Remove sync call from name2domain, bump debug level to 5
2007-10-10 15:01:44 -05:00
Kai Blin
6b92b816fc
r24157: Merge from kai/samba4-gsoc.git;h=728deba680f8cf85cab168a6278a2cf657f65fdb
...
Make WBSRV_SAMBA3_SET_STRING use safe_strcpy instead of strncpy.
2007-10-10 15:01:28 -05:00
Andrew Bartlett
078671d501
r24127: Set the Domain SID into the libnet context, and have libnet_UserInfo
...
return full SIDs for the user SID and primary group sid.
This should help kai with his getpwnam work in winbind.
Andrew Bartlett
2007-10-10 15:01:27 -05:00
Andrew Bartlett
44c193272b
r24112: Complete initialistion of the libnet_ctx when setting up the domain.
...
We need to set the access_mask and the domain name, or else libnet
will try to do this itself.
This seems to fix the issues Kai was having.
Andrew Bartlett
2007-10-10 15:01:27 -05:00
Andrew Bartlett
ec69f41d09
r24111: Untested code is broken code, untested code is broken code...
...
Apologies for my previous commit, which should never have been
commited untested.
Andrew Bartlett
2007-10-10 15:01:26 -05:00
Andrew Bartlett
0908d8232e
r24110: I hate seeing callers manually filling in the composite context. Use
...
the helper functions instead (and in kai's new code, which just copied
the previous bad practice).
Andrew Bartlett
2007-10-10 15:01:25 -05:00
Kai Blin
a6a45ab970
r24109: Add a wb_name2domain call
2007-10-10 15:01:25 -05:00
Kai Blin
75e41da039
r24108: Split out samba3_parse_domuser to a seperate file and rename, so it can be
...
used for a name2domain call.
2007-10-10 15:01:25 -05:00
Andrew Bartlett
bad2dc14d7
r23995: Work to allow mimir's libnet code to be called from winbind.
...
We now setup a libnet_ctx for each domain. We should then be able to
replace/merge some more of the winbind code with libnet calls,
referencing domain->libnet_ctx.
Andrew Bartlett
2007-10-10 15:01:16 -05:00
Andrew Bartlett
365778a993
r23890: Allow wbinfo -a to work against Samba4's winbind.
...
Add a test for wbinfo -a to test_member.sh
Reimplement the server-side 'pam_auth' and 'pam_auth_crap' calls to
use the same SamLogon code as auth_winbind uses.
In my previous code, we did not bind to the LSA and SAMR pipes, before
attempting operations. We now do this (how we passed any tests before
is beyond me).
This required some rework, particularly to make it easier to setup
secondary connections. The new rpc_secondary_auth_connection()
function also performs the bind.
The dcerpc_connect.c file was getting to big, so things have been
merged into dcerpc_secondary.c.
Andrew Bartlett
2007-10-10 15:01:08 -05:00
Andrew Bartlett
a1b6c9ecb9
r23880: Don't crash when we run wbinfo -a against our own winbind when we are a DC.
...
Next step is to make it work...
Andrew Bartlett
2007-10-10 15:01:07 -05:00
Andrew Bartlett
dc27a7e41c
r23810: Make things static, and remove unsued code.
...
This includes some of the original ildap ldap client API. ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.
Andrew Bartlett
2007-10-10 14:59:21 -05:00
Andrew Tridgell
fcf38a38ac
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
57dfc76743
r23653: add dummy implementation for all nss calls to let nsstest
...
pass against a samba4 winbind
metze
2007-10-10 14:53:30 -05:00
Kai Blin
553b7e146f
r23311: Updating the samba4 winbind protocol to version 18.
...
nsswitch/winbindd_nss.h is just copied from SAMBA_3_0.
nsswitch/winbind_nss_config.h is copied from SAMBA_3_0, too, but I had to
drop some of the defines to make things build again.
Kai
2007-10-10 14:53:10 -05:00
Andrew Bartlett
6ecb3cb0b3
r23149: Fix up the trusted domain lookup code to use the new structures.
...
Andrew Bartlett
2007-10-10 14:52:57 -05:00
Stefan Metzmacher
a4df092c80
r23146: fix the build (temporary)
...
abartlet: please fix this correct!
metze
2007-10-10 14:52:57 -05:00
Andrew Bartlett
218b279a46
r23141: Use the finddcs() library call rather than a winbind-specific version.
...
(I created finddcs() from the winbind code a while back, so this
finishes that work)
Andrew Bartlett
2007-10-10 14:52:56 -05:00
Andrew Bartlett
86654056b2
r23133: I felt pity on Kai, as he starts work on winbind in Samba4, so I
...
decided to clean it up a little.
We now use SPNEGO for authentication if possible, and common routines
shared with the rest of the librpc codebase. Rather than make a
connection to IPC$, then connect the pipes to it, we instead have the
lsa and samr pipes as 'secondary connections'.
Andrew Bartlett
2007-10-10 14:52:53 -05:00
Stefan Metzmacher
58551f2f28
r22944: fix bug #4618 :
...
rename private -> private_data
metze
2007-10-10 14:52:30 -05:00