Andreas Schneider
2ab0b63bd8
s3-passdb: Added a pdb_try_account_unlock function.
...
The function checks if the account has been autolocked. If we have a
lockout_duration and a bad password time it checks if we can unlock the
account.
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-30 10:43:34 -04:00
Andreas Schneider
9dd7e7fc2d
s3-auth: Use SamInfo3_for_guest to create guest server_info.
...
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-30 10:43:20 -04:00
Volker Lendecke
5f419eaa32
packaging: Build with -O3
2010-08-30 16:40:28 +02:00
Volker Lendecke
ebf05a1db3
packaging: Attempt to fix the RPM build
2010-08-30 16:40:28 +02:00
Günther Deschner
85b8d7c605
s3-kerberos: try to fix the build w/o kerberos support.
...
Guenther
2010-08-30 16:03:17 +02:00
Volker Lendecke
1d3bd5b1c0
s3: Fix some uninitialized variable warnings
2010-08-30 15:57:14 +02:00
Volker Lendecke
4ccf3a05af
s3: Fix the build of the nfs4_acl module
2010-08-30 15:38:12 +02:00
Günther Deschner
9b704e4b9a
s3-waf: fix the build after gssapi changes.
...
Guenther
2010-08-30 14:50:52 +02:00
Günther Deschner
9697687e25
dcerpc-gssapi: include missing dcerpc_krb5.h header.
...
Guenther
2010-08-30 14:47:52 +02:00
Günther Deschner
d524f58518
dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.
...
Guenther
2010-08-30 14:44:13 +02:00
Simo Sorce
2a2557075e
s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:35:02 +02:00
Simo Sorce
36fdb211a6
dcerpc-gssapi: add function to retrieve client name
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:34:01 +02:00
Simo Sorce
d15d76af5f
dcerpc-gssapi: add function to extract authtime
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:33:14 +02:00
Simo Sorce
6c80e04120
dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:33:01 +02:00
Simo Sorce
fb1aef085e
dcerpc-gssapi: add function to check flags
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:32:47 +02:00
Simo Sorce
e6ed1dc249
dcerpc-gssapi: add initial server side code
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:32:33 +02:00
Simo Sorce
b31f75d8f6
s3-dcerpc: add krb5 helpers
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:27:48 +02:00
Simo Sorce
26e24928b3
s3-krb: Reformat and add doxygen comment to decode_pac_data()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:26:37 +02:00
Simo Sorce
43d0ef1175
rpcclient: support starting sign/seal with krb5/spnego
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:26:02 +02:00
Simo Sorce
f3501cf848
s3-smbd: use make_server_info_krb5() in smb2 too.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:46 +02:00
Simo Sorce
a413a86daa
s3-smbd: use make_server_info_krb5()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:38 +02:00
Simo Sorce
08a8e25d6b
s3-auth: add helper to get server_info out of kerberos info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:30 +02:00
Simo Sorce
ce60d6d9cf
s3-smbd: User helper function to resolve kerberos user for smb2
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:22:13 +02:00
Simo Sorce
94adbf3726
s3-smbd: Use helper function to resolve kerberos user
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:21:53 +02:00
Simo Sorce
b9772a4886
s3-auth: Add helper function to retrieve the unix user from a kerberos ticket
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:17:06 +02:00
Stefan Metzmacher
fc79f358eb
docs-xml/vfs_gpfs: document 'gpfs:refuse_dacl_protected'
...
metze
2010-08-30 10:50:16 +02:00
Stefan Metzmacher
4d76c18f78
docs-xml/vfs_gpfs: document 'gpfs:merge_writeappend'
...
metze
2010-08-30 10:50:16 +02:00
Stefan Metzmacher
6cf66a04ad
docs-xml/vfs_gpfs: document 'gpfs:winattr'
...
metze
2010-08-30 10:50:15 +02:00
Stefan Metzmacher
a8a704001e
docs-xml/vfs_gpfs: document 'gpfs:getrealfilename'
...
metze
2010-08-30 10:50:15 +02:00
Stefan Metzmacher
196699a6a1
docs-xml/vfs_gpfs: document 'gpfs:leases'
...
metze
2010-08-30 10:50:14 +02:00
Stefan Metzmacher
d35d846db1
docs-xml/vfs_gpfs: document 'gpfs:sharemodes'
...
metze
2010-08-30 10:50:14 +02:00
Kamen Mazdrashki
0e87461dfb
s4-drs-test: Skip a check that may possibly fail
...
This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway
2010-08-30 09:55:30 +03:00
Kamen Mazdrashki
5c5e5ff607
s4-util: Print more informative error messages in 'net drs replicate'
2010-08-30 09:55:30 +03:00
Kamen Mazdrashki
0007203978
s4-drs-test: Use dns hostnames to run 'net drs replicate' command
2010-08-30 09:55:30 +03:00
Stefan Metzmacher
11a3d78951
librpc/ndr: correctly implement ndr_charset_length()
...
Before we ignored the charset type.
metze
2010-08-30 08:44:38 +02:00
Volker Lendecke
fbf3d03550
s3: Fix an uninitialized variable
2010-08-29 23:14:49 +02:00
Volker Lendecke
f687d43454
s3: Fix the build without cluster
2010-08-29 23:14:49 +02:00
Volker Lendecke
e466bb4af4
s3: Remove smbd_server_fd()
...
This breaks the perfcol_onefs() build.
Tim, Steve, this use of smbd_server_fd is replacable by calls into
substitute.c. I don't have a onefs environment around to build a fix, so I've
decided to insert an #error, making it not compile. The fix should be pretty
obvious, you can get the socket data via "%I" and "%i" substitutions.
2010-08-29 21:55:25 +02:00
Volker Lendecke
e784e160ec
s3: Remove two uses of smbd_server_fd()
...
Actually, this is a bit cheating. But those two files depend on
smbd_server_conn anyway, it does not make things worse.
2010-08-29 21:55:25 +02:00
Volker Lendecke
5a6be0b314
s3: Remove smbd_server_fd() from srv_netlog_nt
...
This is not actually used. If it was to be activated, we'd have to pass in a
pipes_struct.
2010-08-29 21:55:25 +02:00
Volker Lendecke
744cc26451
s3: Remove smbd_server_fd() from smbd_register_ips
2010-08-29 21:55:24 +02:00
Volker Lendecke
5bbc4df168
s3: Lift smbd_server_fd() from msg_release_ip()
2010-08-29 21:55:24 +02:00
Volker Lendecke
467208e9f4
s3: Lift smbd_server_fd() from release_ip()
2010-08-29 21:55:24 +02:00
Volker Lendecke
6432383926
s3: Remove a use of smbd_server_fd() in smbd main()
...
The effect this might have is that we set the socket options a bit later in
inetd mode.
2010-08-29 21:55:24 +02:00
Volker Lendecke
70df6fcb2a
s3: Pass sconn to check_reload
...
This removes a use of smbd_server_fd()
2010-08-29 21:55:24 +02:00
Volker Lendecke
babfe23717
s3: Pass sconn instead of msg_ctx to housekeeping_fn
2010-08-29 21:55:24 +02:00
Volker Lendecke
4a58c640cc
s3: Set the client_id in substitute.c once
...
This never changes during a client connection's life, so we can set it
once.
2010-08-29 21:55:23 +02:00
Volker Lendecke
8d256b8f30
s3: Remove some uses of smbd_server_fd()
...
The change in behaviour is that we don't detect "socket option" changes anymore
when printers are added or removed.
2010-08-29 21:55:23 +02:00
Volker Lendecke
291526b9cf
s3: Remove a use of smbd_server_fd
...
This disables different socket options per user for ntlmssp authentiation, a
change in behaviour which is exotic enough I believe.
2010-08-29 21:55:23 +02:00
Kamen Mazdrashki
b5ed9c2c4d
s4-kcc: Notify dreplsrv that Topology has changed
2010-08-28 23:38:59 +03:00