Jelmer Vernooij
43143aa481
Fix Samba 3 selftest to use new selftest formatting functions.
2009-06-11 20:00:00 +02:00
Volker Lendecke
117c19efa4
Implement pdb_enum_alias_memberships
2009-06-11 18:04:35 +02:00
Jelmer Vernooij
3174de69d5
Fix build with external talloc.
2009-06-11 16:31:07 +02:00
Volker Lendecke
6372bd695d
Implement pdb_ads_set_aliasinfo
2009-06-10 23:57:49 +02:00
Volker Lendecke
baa47dd278
pdb_default_aliasinfo is just fine for pdb_ads right now
2009-06-10 23:57:49 +02:00
Volker Lendecke
96df53fdc7
Implement pdb_ads_lookup_rids
2009-06-10 23:08:09 +02:00
Volker Lendecke
6e9e0334ff
Fix a segfault in pdb_ads_delete_user()
...
If a user comes from the passdb cache, priv is NULL
2009-06-10 23:08:09 +02:00
Tim Prouty
a9ec21cf21
s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an smb_filename struct
...
Some of the callers required minimal changes, while others
(copy_internals) required significant changes. The task is simplified
a little bit because we are able to do operations and checks on the
base_name when a stream isn't used.
This patch should cause no functional changes.
Volker, Jeremy: Please check
2009-06-10 13:13:27 -07:00
Tim Prouty
bddd7ad3dc
s3: Add utility function for copying an smb_filename struct
2009-06-10 13:13:27 -07:00
Tim Prouty
5b2034f9c1
s3: Remove the now unused CFF_DOS_PATH flag
...
All paths are now unix paths, making this flag useless.
This flags argument is now unused and can be safely removed.
2009-06-10 13:13:27 -07:00
Tim Prouty
2481d8dcd0
s3: Remove unix_convert handling from createfile implementations
2009-06-10 13:13:27 -07:00
Tim Prouty
6088e554f5
s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert first
...
This step is a requirement to change SMB_VFS_CREATEFILE to take an
smb_filename struct.
2009-06-10 13:13:26 -07:00
Tim Prouty
ab779f5c34
s3: Remove extraneous calls to unix_convert
...
Not only are these unnecessary in spirit because unlink_internals
calls unix_convert, but in practice the return value is simply being
ignored right now.
2009-06-10 13:13:26 -07:00
Tim Prouty
fc2a3b66db
s3: Remove unused stat structs being passed to SMB_VFS_CREATE_FILE
2009-06-10 13:13:26 -07:00
Günther Deschner
b152afeade
s3-libwbclient: fix unresolved symbols in libwbclient.
...
Kai, please check.
Guenther
2009-06-10 21:25:58 +02:00
Günther Deschner
27bb7ac5d1
lib-util: move set_blocking() call into own file.
...
Guenther
2009-06-10 21:25:57 +02:00
Jeremy Allison
dc5c7b7f98
Make ctemp async. Fix the test to pass against W2K3.
...
Jeremy.
2009-06-10 11:58:00 -07:00
Günther Deschner
29b78b33d3
s3-build: Fix make test_shlibs and test_nss_modules.
...
Guenther
2009-06-10 17:26:59 +02:00
Volker Lendecke
b660e51dec
If there are no mods, don't bother the ldap server
2009-06-09 22:40:36 +02:00
Volker Lendecke
078443bc67
Some more fields in pdb_ads_init_ads_from_sam()
2009-06-09 22:40:36 +02:00
Volker Lendecke
9af9a43464
Do not pull samAccountName twice
2009-06-09 21:46:30 +02:00
Stefan Metzmacher
a18341dab9
s3:smbd: only check the next_status for related requests
...
metze
2009-06-09 19:51:03 +02:00
Stefan Metzmacher
66acfbffeb
s3:smbd: response with the same SMB2 flags as given by the client
...
...but also add the response flag.
metze
2009-06-09 19:51:03 +02:00
Stefan Metzmacher
4ae8bf09e6
s3:smbd: only pass the chained file handle for related compounded SMB2 requests
...
metze
2009-06-09 19:51:03 +02:00
Stefan Metzmacher
3d220f9fce
s3:smbd: make sure we pad compounded SMB2 responses to 8 bytes
...
metze
2009-06-09 19:51:02 +02:00
Stefan Metzmacher
c8b3030f40
s3:smbd: skip file handle checks for SMB2 compounded requests
...
metze
2009-06-09 19:51:02 +02:00
Stefan Metzmacher
c0b64051d3
s3:smbd: more validation of the incoming SMB2 requests
...
metze
2009-06-09 19:51:02 +02:00
Stefan Metzmacher
915892e0da
s3:smbd: for now ignore all non NBT Session Message requests for SMB2
...
metze
2009-06-09 19:51:01 +02:00
Stefan Metzmacher
6c44cc11b9
s3:smbd: don't include 1 byte padding for the dynamic buffer of SMB2 responses
...
It seems that Windows 2008 and Windows 7 doesn't do this anymore.
metze
2009-06-09 19:51:01 +02:00
Kai Blin
38cd0e086f
net: Only use the in memory ccache when not already using a kerberos ticket in net ads
2009-06-09 18:09:18 +02:00
Günther Deschner
72fd5fa6bb
s3-net: fix "net ads testjoin".
...
This always needs to use machine account credentials.
Kai, please check.
Guenther
2009-06-09 15:41:44 +02:00
Volker Lendecke
0302bbda35
No need to free twice -- thanks gd :-)
2009-06-09 15:28:21 +02:00
Volker Lendecke
fa074c9916
Implement pdb_ads_[add|del]_groupmem
2009-06-09 15:25:15 +02:00
Volker Lendecke
6545e9e2ac
Make "net sam [add|del]mem" work for domain groups
2009-06-09 15:25:15 +02:00
Volker Lendecke
63e6bb947a
Implement pdb_ads_delete_dom_group
2009-06-09 14:49:34 +02:00
Volker Lendecke
7e14700016
Implement "net sam deletedomaingroup"
2009-06-09 14:49:33 +02:00
Jeremy Allison
4b0658d448
Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP can
...
run over IPv4/IPv6, even though some of the netlogon messages are IPv4 specific.
Fix the new ads_cldap_netlogon() to be IPv6/IPv4 agnostic. This compiles but
I don't have a good test env. for this (although as the previous code was
*completely* broken over IPv6 this will expose previously hidden bugs if it's broken :-).
Jeremy.
2009-06-08 15:21:48 -07:00
Volker Lendecke
89bd09e7f3
Implement pdb_ads_enum_group_members
2009-06-08 23:59:12 +02:00
Volker Lendecke
890fbf2e30
Make "net ads listmem" also work for domain groups
2009-06-08 23:59:12 +02:00
Volker Lendecke
46b5cce1e9
Fix some nonempty blank lines
2009-06-08 23:11:14 +02:00
Günther Deschner
c49c1b94ef
s3-lsa: remove old code that we cannot even compile anymore.
...
Guenther
2009-06-08 22:58:16 +02:00
Jeremy Allison
c736baf9f8
Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join IPv6-only ads domain.
...
Avaiting feedback from submitter before backport to 3.4 and earlier.
Jeremy.
2009-06-08 13:26:39 -07:00
Günther Deschner
6dd1f99ec0
s3-spoolss: add server-support for queries for the "all" architecture in printdriver enum calls.
...
Guenther
2009-06-08 21:24:31 +02:00
Volker Lendecke
094f47e7cf
Fix two 64-bit warnings
2009-06-08 21:14:11 +02:00
Volker Lendecke
275ca400db
Implement pdb_[add|del]aliasmem
2009-06-08 21:14:10 +02:00
Volker Lendecke
9b42c5ca79
Add tlda_add_mod_str
2009-06-08 21:14:10 +02:00
Volker Lendecke
af82489b41
Do not use a variable format string
2009-06-08 21:14:10 +02:00
Volker Lendecke
7ab4d3fa43
Implement pdb_ads_enum_aliasmem
2009-06-08 21:14:10 +02:00
Volker Lendecke
a51e6ce43c
Pass a talloc_ctx to pdb_enum_aliasmem
2009-06-08 21:14:10 +02:00
Volker Lendecke
5ea88420da
Implement pdb_ads_delete_alias
2009-06-08 21:14:10 +02:00