Andrew Bartlett [Fri, 27 Sep 2002 02:11:54 +0000 (02:11 +0000)]
Andrew Bartlett [Fri, 27 Sep 2002 02:09:57 +0000 (02:09 +0000)]
When compiled --with-ldapsam, make ldapsam the default passdb backend.
This is to allow painless upgrades from 2.2, and so people don't get a shock
when they follow old docs.
If ldap has been detected on the system, ldapsam is always available, just not
the default.
Andrew Bartlett
(This used to be commit
0a6a0c88d0972fcea4aead7115929f96c0d23cbc)
Andrew Bartlett [Fri, 27 Sep 2002 01:02:37 +0000 (01:02 +0000)]
Readd the 2.2 --with-ldapsam paramaters so as to allow a smooth upgrade path to
a 3.0 based PDC.
Change defaults to use SSL, so that this also matches.
Andrew Bartlett
(This used to be commit
36c2a3820faa1d90cd331881720be0e61ab93460)
Jeremy Allison [Thu, 26 Sep 2002 21:00:25 +0000 (21:00 +0000)]
Make explicit the difference between a tdb key with no data attached, and
a non existent entry. Stop a malloc(0) being called in the first case.
Jeremy.
(This used to be commit
ece9507ec3d363fccf56b000ad9758780a9b3fb4)
Gerald Carter [Thu, 26 Sep 2002 20:39:53 +0000 (20:39 +0000)]
tagging version as post3.0-HEAD to differentiate from the SAMBA_3_0
branch.
(This used to be commit
0962a2f74f89b684a5f333126fed2b6a7fc0b454)
Gerald Carter [Thu, 26 Sep 2002 20:38:20 +0000 (20:38 +0000)]
add -r to usage output
(This used to be commit
a6ec9af7e38b1b937eba7003f130d662d5bde035)
Samba Release Account [Thu, 26 Sep 2002 19:45:29 +0000 (19:45 +0000)]
preparing for release of 3.0alpha20
(This used to be commit
ba8b6c8e31ad5f15a0cfa9d28d9b8692c3473a42)
Gerald Carter [Thu, 26 Sep 2002 18:57:58 +0000 (18:57 +0000)]
sync with SAMBA_3_0
(This used to be commit
284c515dbd36d49081c1cdf9b2b9a60bf7a22ae4)
Jelmer Vernooij [Thu, 26 Sep 2002 15:20:11 +0000 (15:20 +0000)]
Fix segfault in sam_context_enum_domains - reported by Kai
(This used to be commit
1430473d3fdcc8e711fe483b84dfeefa6bd54905)
Jelmer Vernooij [Thu, 26 Sep 2002 15:11:47 +0000 (15:11 +0000)]
Don't define PASS_MUST_CHANGE_AT_NEXT_LOGON twice..
(This used to be commit
cae3705b9a03e36137439e24667dcf2e5e9643fc)
Jelmer Vernooij [Thu, 26 Sep 2002 15:03:26 +0000 (15:03 +0000)]
Change pdb_xml functions to return NTSTATUS
(This used to be commit
834fcd23959ed202a84069bf19390103f563540c)
Jelmer Vernooij [Thu, 26 Sep 2002 14:52:54 +0000 (14:52 +0000)]
Change pdb_mysql function to return NTSTATUS
(This used to be commit
fa056769a08c93f086f05baf9095ee93217f92f1)
Jelmer Vernooij [Thu, 26 Sep 2002 14:29:09 +0000 (14:29 +0000)]
Make functions return NTSTATUS instead of BOOL
(This used to be commit
6347d40eff03ad780446bdae0f1dfe0bc9edf824)
Volker Lendecke [Thu, 26 Sep 2002 14:01:39 +0000 (14:01 +0000)]
Add -r parameter to smbgroupedit. With -r you can manually choose
a rid.
Volker
(This used to be commit
11ec785f3f43b277ae3f28b38865f4de972495bc)
Andrew Bartlett [Thu, 26 Sep 2002 13:31:49 +0000 (13:31 +0000)]
Patch from "Kai Krueger" <kai@kruegernetz.de> to get some more of our access
control bits right on the SAMR pipe.
Andrew Bartlett
(This used to be commit
e87948c777b59592b130da081ef5d25600455d29)
Simo Sorce [Thu, 26 Sep 2002 10:31:51 +0000 (10:31 +0000)]
forgot include file, sorry
(This used to be commit
67d600ed8ed1cdd25503fdb2299bdfa93befee1f)
Andrew Bartlett [Thu, 26 Sep 2002 10:25:34 +0000 (10:25 +0000)]
Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> to do a *much*
better job of working with usrmgr. Previously we were blanking out entires,
and all sort of mischif.
The new patch (which I've now had a chance to test/modify) also takes care not
to expand % values (ie we go \\%L\%U -> \\server\user, we don't want to store
\\server\user back) and to correctly notice 'not set' compared to 'null string'
etc.
Andrew Bartlett
(This used to be commit
ab878b6cc4132594fc33f78aeebf0d8b7266c150)
Simo Sorce [Thu, 26 Sep 2002 09:50:53 +0000 (09:50 +0000)]
move all the passdb internal interface to NTSTATUS
only the interface has been fully moved to NTSTATUS
not all the plugins make full use of it, but have been all converted.
My testings passed completely, however a bit of more testing is welcome
Simo.
(This used to be commit
102a26e06591928a03b49cd312a65811ed46314f)
Jelmer Vernooij [Wed, 25 Sep 2002 19:33:04 +0000 (19:33 +0000)]
notify user when no {domains,accounts} were found
(This used to be commit
ee3b497962a28c7c58e866b8536b1d2ae6f9b23a)
Jelmer Vernooij [Wed, 25 Sep 2002 17:10:58 +0000 (17:10 +0000)]
Add samtest command 'enum_accounts' + few typo fixes in sam/interface.c
(This used to be commit
81156d6556dab2ea23dea69da6940a0482d79d9b)
Jelmer Vernooij [Wed, 25 Sep 2002 15:54:40 +0000 (15:54 +0000)]
add samtest commands:
- show_domain
- context
(This used to be commit
e969b1897269ebd27650c2192cd19ebda47e042e)
Gerald Carter [Wed, 25 Sep 2002 15:46:49 +0000 (15:46 +0000)]
fix getpass replacement check (i thought I fixed this a few days
ago....)
(This used to be commit
1b55965f12dc2ede46ca2dbc82acbf56b7e33e2e)
Andrew Bartlett [Wed, 25 Sep 2002 14:18:11 +0000 (14:18 +0000)]
Make it clear what this if statement applies to, and what it doesn't
(This used to be commit
6b78e554c3dd3c98bff7dbd1d3715a9b7e405b8d)
Jelmer Vernooij [Wed, 25 Sep 2002 12:59:47 +0000 (12:59 +0000)]
remove extern for AllowDebugChange since we don't use it
(This used to be commit
70d9b71ceaeba95712fa61e601376ff5cc8e7714)
Andrew Bartlett [Wed, 25 Sep 2002 12:32:17 +0000 (12:32 +0000)]
Fix the circular dependency that was preventing 'domain master = auto' (the
default) from working.
Andrew Bartlett
(This used to be commit
25950dbb3272949a235bed936c7d7b1d23f15fac)
Andrew Bartlett [Wed, 25 Sep 2002 12:09:56 +0000 (12:09 +0000)]
Metze claims that without this his win2k server gets horribly confused looking
for all sorts of AD things in lp_realm(). We need to get some non-Win2k
NTLMSSP and chase this up a bit, but this will do for now.
(Hmm, this might affect NTLMv2 as well)
Andrew Bartlett
(This used to be commit
0e6babc306f60e88fc28705a8d4ad112bafe92cb)
Andrew Bartlett [Wed, 25 Sep 2002 12:02:57 +0000 (12:02 +0000)]
Whenever we deal with adding machine/trusted domain accounts, always reset the
flag to what we expect. This handles the 'upgrade' from unixsam beter (where
all $ terminated accounts are machines).
Andrew Bartlett
(This used to be commit
a198940ea6f7b7f3cba38c5a9f695e0731204583)
Jelmer Vernooij [Wed, 25 Sep 2002 11:42:30 +0000 (11:42 +0000)]
Don't crash when a backend doesn't have a setsampwent function available - bug reported by metze
(This used to be commit
4aea951102a6e82612560e6a59931fde433ee6ea)
Andrew Bartlett [Wed, 25 Sep 2002 11:34:31 +0000 (11:34 +0000)]
This patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> cleans up
pdb_ldap and adds a 'ldap passwd sync' option.
The idea with this option is to do allow an ldap backend to do all the fancy
password hashing etc - and to tell smbd no to try and double-up. Using 'ldap
passwd sync = only' will do this, but is not recommended unless such a backend
is in place...
Running 'ldap passwd sync = yes' just gets you the same as doing 'pam passwd
sync = yes' and having both PAM and pam_ldap correctly configured for 'magic
root' behaviour, but only using ldap connection, and one set of credentials.
This also gets us closer to allowing ldap to say 'password too short' etc,
which might assist in maintaining a consistant password policy.
Andrew Bartlett
(This used to be commit
f13e243f1a13d34ae057b40b01f561e8b95d4570)
Jelmer Vernooij [Wed, 25 Sep 2002 11:19:48 +0000 (11:19 +0000)]
Fix debuglevel command-line argument
(This used to be commit
779aea57450db83fa7870e8a35db55d475682519)
Jelmer Vernooij [Wed, 25 Sep 2002 11:08:16 +0000 (11:08 +0000)]
Compile samtest with LIBADS_OBJ and PASSDB_OBJ...
(This used to be commit
f0c095875758ef44ed2d25d3ed9d77e5e163b75f)
Jelmer Vernooij [Wed, 25 Sep 2002 10:17:08 +0000 (10:17 +0000)]
samtest should load smb.conf by default
add command-line option to samtest to specify alternate config file - use /dev/null
to don't load any config file..
add 'conf' command to load specified config file
(This used to be commit
237883d1e68e99a3ea3df9b6e182c70cb31b2523)
Andrew Bartlett [Wed, 25 Sep 2002 09:56:36 +0000 (09:56 +0000)]
At least try to get this function picked up by the autoprototyper
(This used to be commit
d5303d5c080212486329f7e5a65f732e11efbb37)
Andrew Bartlett [Wed, 25 Sep 2002 09:55:41 +0000 (09:55 +0000)]
Kill of Get_Pwnam_Modify and smb_getpwnam(). The latter assumes some things
that just don't apply any more - now that we always keep username and domain
seperate. Also, the policy it was trying to permit is now implemented by the
auth code.
Andrew Bartlett
(This used to be commit
760c0740cad948665db4a1d462fbbd99332713ef)
Andrew Bartlett [Wed, 25 Sep 2002 09:40:45 +0000 (09:40 +0000)]
Another patch from metze, towards his work on sam_ads.
See mx-ldap.sf.net for his current progress.
(This used to be commit
9c62d1312fdf0aa7b1978e8bbb56fc076ba7e9d0)
Andrew Bartlett [Wed, 25 Sep 2002 09:38:27 +0000 (09:38 +0000)]
Header files should not include includes.h - therein lies maddness, particuarly
if we ever want to get rid of the magic macros.
(This used to be commit
13f33e466ed31d35221157d6b3a1a05507157b66)
Andrew Bartlett [Wed, 25 Sep 2002 09:37:18 +0000 (09:37 +0000)]
Actually pick up the kerberos libs in RedHat - the previous shell construct
didn't seem to work properly.
Andrew Bartlett
(This used to be commit
c0925b6352ff6135da03edff44e0bbd72c949a20)
Andrew Bartlett [Wed, 25 Sep 2002 09:35:45 +0000 (09:35 +0000)]
If adding a user to ldap, make sure we have the 'account' structural class, or
else we can't add to OpenLDAP 2.1
(This used to be commit
d9a91a41441c156223760cb356fa997ea7bdbc1a)
Andrew Bartlett [Wed, 25 Sep 2002 09:34:43 +0000 (09:34 +0000)]
Move to common user token debugging, and ensure we always print both the
NT_TOKEN and the unix credentials - as we incresingly use the NT stuff we want
to make it easy to check they don't get out of wack.
Andrew Bartlett
(This used to be commit
a3882a19254811ace2f9545580c14ce3bd588095)
Andrew Bartlett [Wed, 25 Sep 2002 09:32:08 +0000 (09:32 +0000)]
Avoid a segfault in net join when you have not done an kinit, and it's falling
back to NTLMSSP. We need to get the password out of the user, and this
eventually does.
Andrew Bartlett
(This used to be commit
bb518a3bae3bf91a589021fcc5b1e715247c5ded)
Tim Potter [Wed, 25 Sep 2002 06:25:02 +0000 (06:25 +0000)]
The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)
(This used to be commit
7ce782c20c6b9e515a2fa831315ae14c66d322ee)
Jeremy Allison [Wed, 25 Sep 2002 05:11:25 +0000 (05:11 +0000)]
Merge of "profile acls" code.
Jeremy.
(This used to be commit
cfd1bf250b417f3ba3ad21ff681ab282311bb7eb)
Gerald Carter [Wed, 25 Sep 2002 05:01:51 +0000 (05:01 +0000)]
merge from APP_HEAD
(This used to be commit
930c6710fe076b52ad21addf5fcda834f85e15a9)
Jeremy Allison [Tue, 24 Sep 2002 22:57:51 +0000 (22:57 +0000)]
Hold lock on NEXTJOB record for a very short time. Jerry needs to add code
to make this rebust w.r.t. stored devicemodes.
Jeremy.
(This used to be commit
f93a008f09acda2ddaff9857f2fe0c86948539d1)
Jeremy Allison [Tue, 24 Sep 2002 22:56:59 +0000 (22:56 +0000)]
Moved -ve cache check to correct place.
Jeremy.
(This used to be commit
38c67632ade40413c0cc2b91e04105e4065a18b7)
Jelmer Vernooij [Tue, 24 Sep 2002 21:29:33 +0000 (21:29 +0000)]
enum_domains shouldn't crash when there are no domains available
(This used to be commit
d312e1c2b44905af87c4d550975eee78dbf2edee)
Jelmer Vernooij [Tue, 24 Sep 2002 21:18:22 +0000 (21:18 +0000)]
Fix bug in get_methods_by_name
Fix bug in enum_domains
Add samtest commands:
- lookup_sid
- lookup_name
- enum_domains
- lookup_domain
(This used to be commit
0c01219850e5d9b77b3b2c0b4b87aa3c82e3292b)
Jelmer Vernooij [Tue, 24 Sep 2002 20:18:39 +0000 (20:18 +0000)]
- Don't put pointer to sam_domain_handle in sam_methods but single domainsid and domainname
- Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend
- Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're
available in sam_methods as well
(This used to be commit
50d2527eed0eb26c16f2f7e28badbf08d771380e)
Volker Lendecke [Tue, 24 Sep 2002 06:50:11 +0000 (06:50 +0000)]
This is a first working version of net rpc vampire. First do a net rpc
getsid, then join as a BDC, and then watch net rpc vampire suck out
the good stuff out of a PDC :-). It's not perfect, but it does quite a
bit for me. Watch out for more.
Volker
(This used to be commit
f0d7ac9feb5844c93789344285b1d66f480209ba)
Richard Sharpe [Tue, 24 Sep 2002 06:44:37 +0000 (06:44 +0000)]
Make sure that Alfred Perlstein's changes get into head as smbprint and
that the old one becomes smbprint.old.
We still need to hack smbprint some more to make sure that we can pass
the username and password in a file rather than on the command line where
local hackers can see it.
(This used to be commit
ef970a764eb97893ff2090f7cbf2f2ec06911d0f)
John Terpstra [Tue, 24 Sep 2002 01:59:08 +0000 (01:59 +0000)]
Typos! Fix 'em!
(This used to be commit
d2976b6872c43e3b5bb9a589e8eaff1a08ad5352)
John Terpstra [Tue, 24 Sep 2002 01:37:05 +0000 (01:37 +0000)]
Removed call to configure for VFS modules.
(This used to be commit
a029d9781d8511eb5eb51568647fbeccde2efed3)
John Terpstra [Tue, 24 Sep 2002 01:12:11 +0000 (01:12 +0000)]
Updated in preparation for samba-3.0.0alpha20
(This used to be commit
05f61b2dc4c120f5303e1a7c85ca8b1409d9a95e)
Tim Potter [Mon, 23 Sep 2002 21:24:31 +0000 (21:24 +0000)]
Don't uppercase the username and domain in a session setup.
(This used to be commit
0ad19825df318030b1772404570cd993fe49e40a)
Volker Lendecke [Mon, 23 Sep 2002 17:50:04 +0000 (17:50 +0000)]
Ok, what's this? Samba as a PDC wants to authenticate a user coming in
to a native NT member server. If the logoff time in the samlogon reply
is set to something else but infinity, the tree connect to the member
server comes back with 'bad uid'. In my traces, NT PDC sends
0x7fff.. always. Weird, but true.
I would really like others to double-check this. If you have questions
regarding the setup, feel free to ask!
Thanks!
Volker
(This used to be commit
066b163bde9419d32fe8ffe00c1841107357c138)
Richard Sharpe [Mon, 23 Sep 2002 16:54:32 +0000 (16:54 +0000)]
Update some help. People keep forgetting that!
(This used to be commit
b53547bf663ed1714326f9b0e74215e012e728af)
Richard Sharpe [Mon, 23 Sep 2002 16:46:32 +0000 (16:46 +0000)]
Add net getlocalsid [name]
(This used to be commit
08c3e2b824cd2c93ca548fa18ea16a18f5b197e5)
Volker Lendecke [Mon, 23 Sep 2002 16:21:01 +0000 (16:21 +0000)]
Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)
When creating a group you have to take care of the fact that the
underlying unix might not like the group name. This change gets around
that problem by giving the add group script the chance to invent a
group name. It then must only return the newly created numerical gid.
Volker
(This used to be commit
b959419ed38e66a12b63cad3e5fbfa849f952acc)
Volker Lendecke [Mon, 23 Sep 2002 15:36:02 +0000 (15:36 +0000)]
Cosmetic fix for debug message.
(This used to be commit
42774a7753eb8be1ec04bcb5dda089910a1b6d0b)
Volker Lendecke [Mon, 23 Sep 2002 15:00:09 +0000 (15:00 +0000)]
tdbdump also needs signal.h. Thanks to Guenther Deschner <gd@suse.de>
Volker
(This used to be commit
a1bade0748fa46c6cb00e99d7022b21057679889)
Volker Lendecke [Mon, 23 Sep 2002 10:05:15 +0000 (10:05 +0000)]
Add the ability to view/set the current local domain SIDs.
Volker
(This used to be commit
f6ed429838cc0140c0d033875012c7a999891549)
Gerald Carter [Mon, 23 Sep 2002 04:01:28 +0000 (04:01 +0000)]
* fix getpass check
* merge in AIX fixes from SAMBA_2_2
(This used to be commit
50752f84f24b36332ec4f1ade92dc5a095ac077b)
Andrew Bartlett [Mon, 23 Sep 2002 02:49:01 +0000 (02:49 +0000)]
Richard Sharpe [Sun, 22 Sep 2002 16:22:48 +0000 (16:22 +0000)]
Small, long overdue, fix for libsmbclient.
(This used to be commit
40aea3fe94b68ce284e2f21e57f086212936c049)
Volker Lendecke [Sun, 22 Sep 2002 10:30:00 +0000 (10:30 +0000)]
Change parsing of policy and privs delta to what Ethereal says.
Volker
(This used to be commit
8c41b5cd1b8b0c2639def9552bd20b8aca39785c)
Volker Lendecke [Sat, 21 Sep 2002 14:14:40 +0000 (14:14 +0000)]
Sorry for the new parameter, but I think to really reflect what's coming
in via deltas, we need a way to set a user's primary group.
Volker
(This used to be commit
9f7a16acf1b1f3b100b85339aad8268254512e68)
Jeremy Allison [Sat, 21 Sep 2002 08:53:05 +0000 (08:53 +0000)]
Merge back Richard's FreeBSD sendfile fixes.
Jeremy.
(This used to be commit
f4845b0213aec58e0f489eba5653aa7b3855610f)
Andrew Tridgell [Sat, 21 Sep 2002 01:30:08 +0000 (01:30 +0000)]
enable 'map hidden' and 'create mask' to allow the new OPEN test to
succeed
(This used to be commit
f1058012b9662f0f9ce62ea05833e78a411f80b9)
Jeremy Allison [Fri, 20 Sep 2002 19:09:28 +0000 (19:09 +0000)]
"@" is valid in NetBIOS domain names.
Jeremy.
(This used to be commit
5c4857d8e00162fc43a0f2e3a335b441bad743bd)
Jelmer Vernooij [Fri, 20 Sep 2002 16:59:48 +0000 (16:59 +0000)]
Add framework for samtest commands
(This used to be commit
f1021cbc557bfa0078e932a8268c5c9adcae0ae8)
Gerald Carter [Fri, 20 Sep 2002 16:09:59 +0000 (16:09 +0000)]
reran autoconf
(This used to be commit
29be94110415c87c7030f0d2d87b612220397eae)
Gerald Carter [Fri, 20 Sep 2002 15:11:31 +0000 (15:11 +0000)]
CUPS merge from SAMBA_2_2
(This used to be commit
cbb16eac0e79649f4383763439c7e745f27fd0cb)
Andrew Tridgell [Fri, 20 Sep 2002 09:37:02 +0000 (09:37 +0000)]
change ADS negprot to match more closely the options used by w2k. This
affects the principal used and the order of SPNEGO OIDs
(This used to be commit
e8ff1c0819e02a1fc7234ad0a07d5415936dfbd2)
Andrew Tridgell [Fri, 20 Sep 2002 09:34:35 +0000 (09:34 +0000)]
allow --with-krb5 to override the location of the kerberos libs on
redhat
(This used to be commit
56b194e83538bcb6006a5ab1e00cdb493dd9ad7f)
Tim Potter [Thu, 19 Sep 2002 23:32:38 +0000 (23:32 +0000)]
remove proto headers on realclean
(This used to be commit
1bd2c6e1441ea8e54284c72dc07de741f88dbe90)
Jeremy Allison [Thu, 19 Sep 2002 18:20:38 +0000 (18:20 +0000)]
Use sendfile in readbraw.
Jeremy.
(This used to be commit
a77966645a976d6ae08581c2e92465c48a8e961d)
Jelmer Vernooij [Thu, 19 Sep 2002 17:40:55 +0000 (17:40 +0000)]
Move functionality to check whether entries for lp_workgroup() and "BUILTIN"
exist and add them if necessary from check_correct_backend_entries into
sam_context_check_default_backends. The reason for this is that we don't
always want to have BUILTIN and lp_workgroup() in a sam_context, for example
when doing sam2sam. check_correct_backend_entries has been renamed to
'check_duplicate_backend_entries' since that's what it currently does.
The sam_context_check_default_backends() function is only called
by sam_get_static_context(BOOL reload) currently currently.
(This used to be commit
2fe72652ee468bf5e1f8f151215f45b10f4c8a28)
Jeremy Allison [Thu, 19 Sep 2002 17:36:29 +0000 (17:36 +0000)]
tdb tools need #include <signal.h>
Jeremy.
(This used to be commit
7e19a6b7ade1e70aafa9be8a86665a49f592b6f4)
Jelmer Vernooij [Thu, 19 Sep 2002 15:39:00 +0000 (15:39 +0000)]
Merge in first command for 'samtest'
Fix small bug in sam/interface.c
Make sam backend to default to a define
(This used to be commit
60ab55fedf03a0b505b0b73527e031124a46304e)
Volker Lendecke [Thu, 19 Sep 2002 12:34:39 +0000 (12:34 +0000)]
trivial comment fix
(This used to be commit
9d6331524089d76c5832b9ba001fb0e8a05f39d7)
Tim Potter [Thu, 19 Sep 2002 05:49:14 +0000 (05:49 +0000)]
Remove hardcoded -I stuff. Hooray!
(This used to be commit
105ff7c5400a6b79613b6a3b72808124b17ddc60)
Tim Potter [Thu, 19 Sep 2002 05:47:50 +0000 (05:47 +0000)]
Clean up python extensions in clean target.
Pass more flags down to setup.py so we don't have to hard code any
-I directives.
(This used to be commit
a36882175ae546859fa4a5ba02a22d711a04cedf)
Tim Potter [Thu, 19 Sep 2002 05:39:03 +0000 (05:39 +0000)]
Bong! The devmode could be NULL. Don't crash if this is the case.
(This used to be commit
3ce8f8c50c0adcedc38bf2812b7e9fae78942458)
Tim Potter [Thu, 19 Sep 2002 05:29:14 +0000 (05:29 +0000)]
Fixed bug in keyword args for enumprinterdataex
(This used to be commit
c7845b3c43f7167f2c695722bc9923ff666ade76)
Tim Potter [Thu, 19 Sep 2002 00:26:07 +0000 (00:26 +0000)]
Moving to subdirectory.
(This used to be commit
154c59c8f92b9f735f4e1e7c8c42692c959996f1)
Tim Potter [Thu, 19 Sep 2002 00:14:01 +0000 (00:14 +0000)]
Implement printerdata_ex as Python dictionary. Read only at the moment.
(This used to be commit
739ea89eb3ab49e5dccddfa767812811b413e67d)
Jeremy Allison [Wed, 18 Sep 2002 20:36:50 +0000 (20:36 +0000)]
Added "use sendfile" per share option.
Jeremy.
(This used to be commit
28466ff42c3328e49d46f7cddfc4bb2fe462d871)
Jeremy Allison [Wed, 18 Sep 2002 20:07:56 +0000 (20:07 +0000)]
HPUX sendfile is now detected correctly.
Jeremy.
(This used to be commit
91e41ebe97c143f413e2a5614b20f3db4642490f)
Gerald Carter [Wed, 18 Sep 2002 19:06:58 +0000 (19:06 +0000)]
printjob merge from APP_HEAD regarding device modes
(This used to be commit
aa52351384abace54a89c9fbfa5e4c31a8464c91)
Jelmer Vernooij [Wed, 18 Sep 2002 13:34:47 +0000 (13:34 +0000)]
Update introduction somewhat
(This used to be commit
060c0bda078923b11c34539323f9def176c006bc)
Jelmer Vernooij [Wed, 18 Sep 2002 13:16:07 +0000 (13:16 +0000)]
samtest and vfstest binaries shouldn't go into CVS...
(This used to be commit
53f7af9c41633877757c85182660c0826275ff2d)
Tim Potter [Wed, 18 Sep 2002 08:16:22 +0000 (08:16 +0000)]
Display the repr() of non-string dictionary values.
(This used to be commit
3c6975c711d87755f0532147f9aaecb224159f43)
Volker Lendecke [Wed, 18 Sep 2002 06:34:10 +0000 (06:34 +0000)]
First code for 'net rpc vampire'. We should probably find a more
positive name for this. It creates users and global groups. More to come.
Volker
(This used to be commit
0c1fadd9e024ef886542d362a7f119968552852d)
Richard Sharpe [Wed, 18 Sep 2002 06:11:13 +0000 (06:11 +0000)]
Add a synonym for samdump ...
(This used to be commit
a8dc1464ea2d05eb2a26afdd433cdb6b69002259)
Tim Potter [Wed, 18 Sep 2002 01:40:13 +0000 (01:40 +0000)]
Fixed compiler error when HAVE_KRB5 not defined.
(This used to be commit
66c2e25079b348188abd48868300771b1e49fff3)
Jeremy Allison [Wed, 18 Sep 2002 00:30:00 +0000 (00:30 +0000)]
We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
Jeremy.
(This used to be commit
660dafcbb2d1029831212a32d995891626a0344c)
Jeremy Allison [Tue, 17 Sep 2002 23:45:21 +0000 (23:45 +0000)]
Never, *ever* hold a mutex lock in the message database where there may
be traversals being attempted. Yes, this was from bitter experience (and
an out of control server :-). Also allow callers to break out of a tdb_chainlock
with sigalarm if desired.
Jeremy.
(This used to be commit
a7781f91d8c1177210bffc199cd2f3b7ff993eaf)
Jeremy Allison [Tue, 17 Sep 2002 20:53:21 +0000 (20:53 +0000)]
Reverted my earlier change. It was incorrect. We must be protected by
pidfile before doing secrets_init().
Jeremy.
(This used to be commit
f8a0e6ad8b25d405ff2bcb492974d2f0bef81036)
Jeremy Allison [Tue, 17 Sep 2002 20:47:59 +0000 (20:47 +0000)]
Only create the pidfile once we're ready to receive requests.
This allows external programs to correctly synchronise with us.
Jeremy.
(This used to be commit
ffb7632d05191342ecfc5f78fbfd7beacfe257ad)
Jeremy Allison [Tue, 17 Sep 2002 19:48:19 +0000 (19:48 +0000)]
Actually use sendfile if selected.
Jeremy.
(This used to be commit
5881f0a22633ed9fb73e6cd788d0751c4db6cd32)