Tim Potter [Wed, 30 Jan 2002 06:09:48 +0000 (06:09 +0000)]
Added wrepld_proto.h
(This used to be commit
1b9b4e46d2dec69cc6de67aad93614412ae61379)
Tim Potter [Wed, 30 Jan 2002 06:08:46 +0000 (06:08 +0000)]
Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit
6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
Tim Potter [Wed, 30 Jan 2002 05:49:20 +0000 (05:49 +0000)]
Gerald Carter [Wed, 30 Jan 2002 05:45:09 +0000 (05:45 +0000)]
merge from 2.2
(This used to be commit
69a9c005c21833bdf22b72aaa3704bd14f627840)
Herb Lewis [Wed, 30 Jan 2002 04:07:42 +0000 (04:07 +0000)]
merge change from @_2 to allow smbpasswd -x to delete user even if no
entry in /etc/passwd.
There are still differences in the local_password_change function. I'm
not sure which was the latest so I didn't change any thing else. Someone
needs to take a look and sync these up.
(This used to be commit
539b025397e569796f2349d33438c2be469c8c69)
Tim Potter [Wed, 30 Jan 2002 03:23:40 +0000 (03:23 +0000)]
Fix for password change from Samuel Ziegler <sam@xpedion.com>
(This used to be commit
418bdd5919265bc74844401901d91edc84076314)
Tim Potter [Wed, 30 Jan 2002 03:14:20 +0000 (03:14 +0000)]
Removed silly fprintf(stderr, ...) debug.
Part of Samuel Ziegler's patch to get winbind password changing working
again in HEAD.
(This used to be commit
b5540bee7be957d1def62ee85a84488e0250624b)
Martin Pool [Tue, 29 Jan 2002 05:34:16 +0000 (05:34 +0000)]
Jeremy Allison [Tue, 29 Jan 2002 01:17:44 +0000 (01:17 +0000)]
Fix "strict allocate" to write the data out on ftruncate with extend.
Jeremy.
(This used to be commit
48fc42c7104d118bd43c80c801866ebd03be1638)
Tim Potter [Tue, 29 Jan 2002 01:01:14 +0000 (01:01 +0000)]
Since we have dynamic initialisation in the group mapping code, make
init_group_mapping() a static function and don't call it from any client
programs.
Not sure whether I've made a bigger mess here or not...
(This used to be commit
3c887d9021269aaa9fc0bc771af8589077e6208e)
Gerald Carter [Mon, 28 Jan 2002 17:36:33 +0000 (17:36 +0000)]
make all-docs to make sure everything is up-to-date
(This used to be commit
7235a21ca4f558fbea7e156e891683767dc2cda1)
Andrew Bartlett [Mon, 28 Jan 2002 00:54:37 +0000 (00:54 +0000)]
Name another talloc.
(This used to be commit
9d62f25f5d3c25d71d8b87801084d42ae9b66f8c)
Simo Sorce [Sun, 27 Jan 2002 16:37:12 +0000 (16:37 +0000)]
minor fix and checks
(This used to be commit
a034bfb9ef7a4c8a127ac91f4163cc6af98f29b3)
Andrew Bartlett [Sun, 27 Jan 2002 12:12:22 +0000 (12:12 +0000)]
Some more 'winbind default domain' support patches from Alexander Bokovoy
<a.bokovoy@sam-solutions.net>.
This patch is designed to remove the 'special cases' required for this support.
In particular this now kills off winbind_initgroups, as it appears no longer to
be required.
Andrew Bartlett
(This used to be commit
f1d8d509766e9169d39332559162cfec249bfc70)
Andrew Bartlett [Sun, 27 Jan 2002 12:06:27 +0000 (12:06 +0000)]
Yes, dev is an 'input/output' paramater...
Andrew Bartlett
(This used to be commit
8cac618174365825e8b1824f70cb42afbce5e500)
Andrew Bartlett [Sun, 27 Jan 2002 10:53:43 +0000 (10:53 +0000)]
Patch from Kevin Stefanik <kstef@mtppi.org> to do some more error checking for
group mapping init failures.
(This used to be commit
cd6a2dad4e3092a19f784b6548fce49ecd8bb549)
Gerald Carter [Sun, 27 Jan 2002 05:37:23 +0000 (05:37 +0000)]
merge from 2.2 and regenerate
(This used to be commit
55c53ef08974947cf10a79882b63d6d8e8baad4c)
Andrew Bartlett [Sun, 27 Jan 2002 03:00:56 +0000 (03:00 +0000)]
Give pdbedit a -D paramater for setting the DEBUGLEVEL (makes debugging passdb
much saner :-).
Change to pdb_init_sam()/pdb_free_sam() loop rather than reset based due to
the talloc basis.
Andrew Bartlett
(This used to be commit
e40a0a7f27950bd0484fe7d6b67dce45cd75d25c)
Gerald Carter [Sat, 26 Jan 2002 22:27:12 +0000 (22:27 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit
e3b87ffc8c26f9fd4c3e8181897b8812b7dc4ab6)
Andrew Bartlett [Sat, 26 Jan 2002 12:24:18 +0000 (12:24 +0000)]
- Provide sid->name lookup support for non-unix accounts.
- Rework the name -> sid lookup function to always try local lookup first (for
local domain names) before trying winbind. This seems to eliminate my winbind
feedback loop problems. (I don't use winbind for nsswitch, where there are
almost certainly further issues).
Andrew Bartlett
(This used to be commit
25cadce67bc8effd4248ab993ae78e1d8511d994)
Andrew Bartlett [Sat, 26 Jan 2002 11:48:42 +0000 (11:48 +0000)]
Back out some of the less well thought out ideas from last weeks work on
winbind default domains, particulary now I understand whats going on a lot
better. This ensures that the RPC client code does as little 'magic' as
possible - this is up to the application/user. (Where - for to name->sid code
- it was all along). This leaves the change that allows the sid->name code to
return domains and usernames in seperate paramaters.
Andrew Bartlett
(This used to be commit
5dfba2cf536f761b0aee314ed9e30dc53900b691)
Andrew Bartlett [Sat, 26 Jan 2002 10:10:25 +0000 (10:10 +0000)]
Bring this code into line with new winbind_lookup_name() interface. I think
this might need a bit more work - or at least documentation.
This is certainly a worthwile little hack, as it avoids the need to invert the
group database. I don't think we should allow unqualified domains here - as
that allows us to distinguish between (at least some) usernames and these
'special' groups.
(This used to be commit
151dd7bc6c61e19a993017e5e0b50314801e26de)
Andrew Bartlett [Sat, 26 Jan 2002 10:06:23 +0000 (10:06 +0000)]
Make a talloc'ed copy of this strings so we can pass the right kind of pointer
to the function. This fixes a nice little segfault the brute-force-casting
created. :-)
Andrew Bartlett
(This used to be commit
c84fa7f5fd62940e397d3353fb688f283349393e)
Andrew Bartlett [Sat, 26 Jan 2002 10:05:10 +0000 (10:05 +0000)]
Rework lookup_name() to take seperate username/domain args, and to remove
varioius crazy 'if winbind didn't find it' cases. This makes winbind default
domain support easier to intergrate with smbd.
(This used to be commit
3e71521957d579f00249679de837490aca5ba92f)
Andrew Bartlett [Sat, 26 Jan 2002 10:03:25 +0000 (10:03 +0000)]
Add the become_root()/unbecome_root() wrapper around the lookup_name() call,
and its new args.
(This used to be commit
e7b3d64f6055b5d3b036f525f0ece3c9479d4f7a)
Andrew Bartlett [Sat, 26 Jan 2002 10:02:23 +0000 (10:02 +0000)]
Move the lsa code across to the changed args for lookup_name, and surround it
in become_root()/unbecome_root().
Also only allocate the memory the client reqests - and don't allow the client
to trigger an SMB_ASSERT if they ask for 'more'.
Up the maximum number of sids allowed, and note that this is an arbiary guess,
and can be raised without consequence.
Andrew Bartlett
(This used to be commit
6e7667125d142670db7393ed7a48386f3821d896)
Andrew Bartlett [Sat, 26 Jan 2002 09:58:11 +0000 (09:58 +0000)]
We may as well not use these temporary variables - they are only used once and
just make it harder to debug (gcc stips optomises them away).
(This used to be commit
100d2705ddfa1fde73a0bb06e8e097b2b1cbf36a)
Andrew Bartlett [Sat, 26 Jan 2002 09:56:47 +0000 (09:56 +0000)]
local_lookup_name() doens't acutally use its 'domain' argument, so drop it and
make its use clearer.
(This used to be commit
d1ea20cc2392f8ba4ac4241f9b5ec14489e49147)
Andrew Bartlett [Sat, 26 Jan 2002 09:55:38 +0000 (09:55 +0000)]
Change the winbind interface to use seperate 'domain' and 'username' feilds for
the sid->uid and uid->sid conversions.
Remove some duplicate arguments from these funcitons, and update the
request/response structures for this and the 'winbind domain name' feature.
As such 'winbindd_lookup_name' now takes both a domain and username.
(This used to be commit
ce1b4d4c309e4a60bec5a53224585bd504264672)
Andrew Bartlett [Sat, 26 Jan 2002 09:52:55 +0000 (09:52 +0000)]
Allow a winbind client to obtain the server's domain name.
(This used to be commit
85018fecfad1f7f6ef44b511bac937881a7bf937)
Andrew Bartlett [Sat, 26 Jan 2002 09:50:28 +0000 (09:50 +0000)]
Remove the 'direct to winbind' hacks, as they should (if I understand
correctly) be no longer needed. This is in aid of the 'winbind default domain'
code - which works much better when smbd always goes via the standard unix
interfaces.
Andrew Bartlett
(This used to be commit
a41fe2f6c845789c719de1d9a26a1374fb0e7fdb)
Andrew Bartlett [Sat, 26 Jan 2002 06:28:50 +0000 (06:28 +0000)]
This always points at a string literal, so it probably should be 'const'.
(This used to be commit
e72e511935ce7f2b658a133bd536833864bc6a92)
Andrew Bartlett [Sat, 26 Jan 2002 06:24:53 +0000 (06:24 +0000)]
Fix up a security issue with the way we handle domain groups retuned on the
info3. These are RIDs, and it only makes sense to combine them with the domain
SID returned with them. This is important for trusted domains, where that sid
might be other than the one we currently reterive from the secrets.tdb.
Also remove the become_root()/unbecome_root() wrapper from around both
remaining TDB users: Both are now initialised at smbd startup.
Andrew Bartlett
(This used to be commit
554842e0a55155193f25aefca6480b89d5c512ca)
Andrew Bartlett [Sat, 26 Jan 2002 06:18:59 +0000 (06:18 +0000)]
Andrew Bartlett [Sat, 26 Jan 2002 06:16:36 +0000 (06:16 +0000)]
The new plugable password backend system needs to be initialised after
lp_load().
Andrew Bartlett
(This used to be commit
168c712bf3b8be19e6e72b7bf4563ed3ae87c176)
Andrew Bartlett [Sat, 26 Jan 2002 06:02:28 +0000 (06:02 +0000)]
These changes commited on a 'no less broken' basis.
The previous code attempted to call winbind to find out the domain sid. This
couldn't work for a number of reasons - not the least of which was that both
the client and server ends would reject any name (in this case domain name)
without a \ in it (or lp_winbind_seperator()).
I think this is what was intended to occour. If there is still some need to
contact winbind for this information, I suggest a new call be created for this
- as it the server-side code doesn't allow for this information to be extracted
easily in any case.
Finally, it gets in the way of the default domain code a bit - hence why I was
actually looking at it...
Andrew Bartlett
(This used to be commit
5fe1ea7f11a314a42f867a4f159c1c63c516568f)
Andrew Bartlett [Sat, 26 Jan 2002 05:53:07 +0000 (05:53 +0000)]
Try to get the compiler not to complain about assignments and truth values...
Andrew Bartlett
(This used to be commit
6650b21ceabefab037cfd3b135039914fb75e3a9)
Andrew Bartlett [Sat, 26 Jan 2002 05:52:20 +0000 (05:52 +0000)]
Try to move towards slightly sane linking for Samba by removing some pdb_...()
calls from rpc_parse/parse_net.c - instead these values are passed as a
paramater.
Unfortunetly some there is still some samr work to be done before this is
actually useful.
Andrew Bartlett
(This used to be commit
4fc9e16ad7a77cf2e37b27640c0dec2052e9cda0)
Andrew Bartlett [Sat, 26 Jan 2002 01:52:52 +0000 (01:52 +0000)]
Add some information tidbits to an error DEBUG().
(This used to be commit
3db417c2ebfda0d5872dee39e36edc4fb6299b9a)
Jeremy Allison [Sat, 26 Jan 2002 01:20:38 +0000 (01:20 +0000)]
Fixed ADDPRINTEREX to take a devmode and a security descriptor...
Jeremy.
(This used to be commit
27f65b3aad13ecd33bbb84048d70e3dde212f278)
Jean-François Micouleau [Fri, 25 Jan 2002 22:53:49 +0000 (22:53 +0000)]
that's the wins replication daemon !
there are still some work to do on it but it's already functionnal.
J.F.
(This used to be commit
2506c98d19263bd5f367a488c2238dcdfec46ee9)
Jean-François Micouleau [Fri, 25 Jan 2002 22:50:15 +0000 (22:50 +0000)]
rewrote nmbd's wins backend to use a tdb instead of a flat text file.
Changed the way the wins record are handled in memory. Now they are living
much longer with the different states: active, released and tombstone.
Also added a version ID, some wins flags and the wins owner ip address to
the namrec->data struct, and a function to process messages sent by the
wins replication daemon.
the initiate_wins_processing() function is not correct, I'll fix it later.
J.F.
(This used to be commit
b902e087d06c32797af19021a7f56895d86d7364)
Andrew Bartlett [Fri, 25 Jan 2002 22:44:21 +0000 (22:44 +0000)]
Change this code so that we don't do a lookup_name() on root.
This matches the lookup failure case in 2.2, and seems to make more sense than
giving the printer to 'world'. (Avoiding this lookup makes some of my other
changes - including winbind default domains - a little easier).
In any case, tpot has promised to look at this and test it when he gets back to
work. :-)
Andrew Bartlett
(This used to be commit
f0137ac126f782e83ed15d8e905def708cdb6c64)
Jim McDonough [Fri, 25 Jan 2002 22:07:46 +0000 (22:07 +0000)]
Enable net ads commands to use existing tickets if the user doesn't specify a username on the commandline. Also don't continue past the kinit if a password is entered and fails because existing tickets would be used, which may not be desired if the username was specified.
(This used to be commit
7e5d7dfa834c0161460bde8a2f0d4824c0a0d1fe)
Jeremy Allison [Fri, 25 Jan 2002 20:16:14 +0000 (20:16 +0000)]
Fixed display of "remote downlevel document" in old print job submission
case.
Jeremy.
(This used to be commit
248770d73072e36fd9812ec5986dce5380dfab33)
Jeremy Allison [Fri, 25 Jan 2002 18:27:40 +0000 (18:27 +0000)]
Make systemtime work for spooling on bigendian systems. Fix from
Benjamin (Bj) Kuit bj@it.uts.edu.au.
Jeremy.
(This used to be commit
5f4de275a3a63a95e76d077ffc94321a078833bf)
Jean-François Micouleau [Fri, 25 Jan 2002 17:04:47 +0000 (17:04 +0000)]
new message type for nmbd
J.F.
(This used to be commit
5fef8a5ad29074bcf02904a1cca72133d57cc3e4)
Jean-François Micouleau [Fri, 25 Jan 2002 17:03:36 +0000 (17:03 +0000)]
remove unused variable
J.F.
(This used to be commit
ca7665c6b3618d3160bbd8e55ab56a8783cf8934)
Jean-François Micouleau [Fri, 25 Jan 2002 17:02:54 +0000 (17:02 +0000)]
picky about realloc
J.F.
(This used to be commit
873dba59cf4e1f7ebb3593d890b9de7c8cd25653)
Gerald Carter [Fri, 25 Jan 2002 15:47:12 +0000 (15:47 +0000)]
merge from 2.2
(This used to be commit
7dc1c34145d66f4bbc5c6ce0bca4b224088366af)
Andrew Bartlett [Fri, 25 Jan 2002 11:44:15 +0000 (11:44 +0000)]
Passdb changes:
Modules now name themselves, which should allow for sane behaviour when we get
an 'extern' passdb module (which in turn loads a .so).
Fix up tdbsam for non-unix-accounts. Not sure if this fixes idra's bug, but
its a start...
Andrew Bartlett
(This used to be commit
7d576d89d7b4a7b95e87a844568d7d7cd89f0542)
Andrew Bartlett [Fri, 25 Jan 2002 10:38:00 +0000 (10:38 +0000)]
Fix a 'const' warning.
(This used to be commit
56be51d648da971bcf1250470b29918e43dc622b)
Andrew Bartlett [Fri, 25 Jan 2002 10:16:20 +0000 (10:16 +0000)]
Bring auth_winbind into line with the protocol changes
Andrew Bartlett
(This used to be commit
c796799afd69fe627b1c8e51fb47957d30da9fae)
Simo Sorce [Fri, 25 Jan 2002 09:55:29 +0000 (09:55 +0000)]
Tim Potter [Fri, 25 Jan 2002 05:28:38 +0000 (05:28 +0000)]
Removed dodgy init of local variable.
(This used to be commit
1f7172b48e77dcda8bfd20d8e79a90b523727493)
Jeremy Allison [Fri, 25 Jan 2002 05:28:37 +0000 (05:28 +0000)]
Return correct RPC fault PDU on bad handle incoming.
Jeremy.
(This used to be commit
0db93d8752197e213f0974edae53e2dafdd77b51)
Tim Potter [Fri, 25 Jan 2002 05:24:07 +0000 (05:24 +0000)]
Much more useful handling of backup domain controllers in winbindd. Honour
the "password server" smb.conf parameter when choosing a DC to connect to.
Due to the origin of the code in cm_get_dc_name() it wouldn't try
additional DCs if the first DC didn't work. This would wedge winbindd if you
had "password server = foo1, foo2" and foo1 was down.
(This used to be commit
fc7ed1b4a8774a6a07a8d8fd08d9d2f15cd5c1dc)
Tim Potter [Fri, 25 Jan 2002 05:17:49 +0000 (05:17 +0000)]
Remove check for passwordserver = "*" as we now initialise it.
Added TODO about perhaps doing a SAMLOGON udp/138 request before a
cli_full_connection in connect_to_domain_password_server()
(This used to be commit
b61e40a5be3b8bacc74399902169755dbc4c7fca)
Tim Potter [Fri, 25 Jan 2002 05:16:40 +0000 (05:16 +0000)]
Initialise password server to "*" in init_globals()
(This used to be commit
97b243c488e8b976e40c6d873282a153f80c06e4)
Tim Potter [Fri, 25 Jan 2002 04:26:16 +0000 (04:26 +0000)]
Removed unused static variable.
(This used to be commit
7c2d7205938ddd958b8399599febbf63ac4c8a88)
Simo Sorce [Fri, 25 Jan 2002 00:35:14 +0000 (00:35 +0000)]
Gerald Carter [Thu, 24 Jan 2002 17:04:30 +0000 (17:04 +0000)]
merge from 2.2
(This used to be commit
2137c7163475691056fe1701b75128e238520b05)
Andrew Tridgell [Thu, 24 Jan 2002 13:31:34 +0000 (13:31 +0000)]
handle filenames like .bashrc better in the new mangling code
(This used to be commit
05adb30eabceea0ebbd7a7831533e2d4f20e58c8)
Jim McDonough [Wed, 23 Jan 2002 18:09:56 +0000 (18:09 +0000)]
Check request flag for unicode capability and respond accordingly, rather than only doing unicode. smbfs didn't work.
(This used to be commit
95857a3515d67effb1242ca07daa5643458bb2f0)
Andrew Bartlett [Wed, 23 Jan 2002 13:44:32 +0000 (13:44 +0000)]
Andrew Bartlett [Wed, 23 Jan 2002 12:59:24 +0000 (12:59 +0000)]
getpwnam -> getpwnam_alloc.
idra has promised not to revert these this time :-)
(This used to be commit
f556ad67e82518f5a024ffe9184ff9430ab5c541)
Andrew Bartlett [Wed, 23 Jan 2002 11:57:11 +0000 (11:57 +0000)]
Change the order of this a bit - as unix password change can fail.
This due for abstraction into chgpasswd.c shortly.
Andrew Bartlett
(This used to be commit
635942ae21793136814a84b1d344f411a5d6e242)
Tim Potter [Wed, 23 Jan 2002 11:47:19 +0000 (11:47 +0000)]
Sync up startpageprinter with appliance.
(This used to be commit
6025ab201aa34bbf4a7e897149ef6ba370a89703)
Gerald Carter [Wed, 23 Jan 2002 05:10:27 +0000 (05:10 +0000)]
merge from 2.2
(This used to be commit
8ed7c1ffad2df03c66151c1dfe7477301bd3ebad)
Jeremy Allison [Tue, 22 Jan 2002 19:45:17 +0000 (19:45 +0000)]
Merge of fixes from 2.2.
Jeremy.
(This used to be commit
6406a42d012184f5289d4a2b1c07a55556635fe4)
Gerald Carter [Tue, 22 Jan 2002 18:19:00 +0000 (18:19 +0000)]
merge from appliance_head
(This used to be commit
38d2d26af9ef4d90dcb57fa940267f7136876191)
Gerald Carter [Tue, 22 Jan 2002 18:14:31 +0000 (18:14 +0000)]
merge from 2.2. of
* PRINTER_ATTRIBUTE's
* "default devmode" parameter
(This used to be commit
90a7a1840b4823d4ebe047130a95dd15a824500b)
Jeremy Allison [Tue, 22 Jan 2002 07:24:12 +0000 (07:24 +0000)]
Ensure fsp->size is correct so readraw's return correct data.
Jeremy.
(This used to be commit
443d2530a7fe32392bdb8c7d38a10b7071392b13)
Martin Pool [Tue, 22 Jan 2002 05:11:28 +0000 (05:11 +0000)]
Add more string explanations of RAP errors that are already documented
in clirap2.
(This used to be commit
935955b50ff503d18265f745e6e0df90d3e5dd4b)
Martin Pool [Tue, 22 Jan 2002 03:51:28 +0000 (03:51 +0000)]
We have to do some initialization before the string conversion
routines can work. The code was copied into both convert_string and
convert_string_allocate -- I split it into a little static function,
and removed an apparently duplicate call to init_valid_table().
(This used to be commit
7f7d22880d40c7344bc402203dd150255fc694cf)
Tim Potter [Tue, 22 Jan 2002 00:38:36 +0000 (00:38 +0000)]
Raise log level of warning produced when the open() of the tdb fails.
Sometimes an open error is OK.
(This used to be commit
5fb3be62910faf91e0e8381ba91f314f2092cb8e)
Tim Potter [Tue, 22 Jan 2002 00:36:53 +0000 (00:36 +0000)]
Display tdb name of "unknown" in logging debug when tdb has not been named.
(This used to be commit
96c36e51ee4df4c46e5e9e611844dfa83260f606)
Tim Potter [Tue, 22 Jan 2002 00:35:51 +0000 (00:35 +0000)]
Added comment about running lp_load() before calling pidfile_create().
(This used to be commit
e05c9b34f084874fef3d9e6f39484242ed541940)
Tim Potter [Tue, 22 Jan 2002 00:35:05 +0000 (00:35 +0000)]
Call pidfile_create() as part of init sequence.
(This used to be commit
fa05a7de6d2311293242825dc98596d8e42c6249)
Tim Potter [Tue, 22 Jan 2002 00:31:41 +0000 (00:31 +0000)]
Having a const parameter for set_socket_options() causes too much confusion.
(This used to be commit
025a0ea8bac876633b790b62558a8ec1b7460e1b)
Jeremy Allison [Mon, 21 Jan 2002 23:36:47 +0000 (23:36 +0000)]
Removed freebsd hack. Not correct.
Jeremy.
(This used to be commit
61b4ce7aef53ab82bdc5bc214e50c1891e097c11)
Jeremy Allison [Mon, 21 Jan 2002 23:34:13 +0000 (23:34 +0000)]
Found and fixed the logic bug in write cache code. Amazingly helpful
work from Juergen.Hasch@de.bosch.com in tracking this down.
Jermy.
(This used to be commit
40060fe3459cf103a143c324f99c2233a8e53825)
Simo Sorce [Mon, 21 Jan 2002 08:08:54 +0000 (08:08 +0000)]
getpwnam_alloc -> getpwnam
same reason as per pdb_tdb.c
there isn't (and will never be probably) another call to any getpw* fn,
let's use getpwnam_alloc only when needed.
(This used to be commit
f12361b1327306e6a3fcf8ff138413ad9a6c69a3)
Simo Sorce [Mon, 21 Jan 2002 07:55:35 +0000 (07:55 +0000)]
hmm, get it right this time.
(This used to be commit
57a145bff6b382e6dc9a9af96451175d81462c8d)
Simo Sorce [Mon, 21 Jan 2002 07:54:09 +0000 (07:54 +0000)]
fix also the comment.
(This used to be commit
7f7a15e09a53a03dd423d40201f037f8da049cd7)
Simo Sorce [Mon, 21 Jan 2002 07:51:26 +0000 (07:51 +0000)]
replace getpwnam_alloc with plain getpwnam.
We are not going to reuse any getpw* call, so the extra alloc,copy and free
only uses extra memory and extra cpu time for nothing.
(This used to be commit
5c0bb0487bec00df494b72b64ddf274f42bfefea)
Martin Pool [Mon, 21 Jan 2002 06:42:45 +0000 (06:42 +0000)]
Make the -L option to smbclient slightly less gross:
smbclient -L //nautilus1/
should definitely not say "unknown host "nautilus1/". Sheesh.
(This used to be commit
1cd431b8f17e5ac394436d31f64032387ca11930)
Tim Potter [Mon, 21 Jan 2002 06:12:22 +0000 (06:12 +0000)]
Andrew Bartlett [Mon, 21 Jan 2002 02:51:23 +0000 (02:51 +0000)]
getpwnam -> getpwnam_alloc
(This used to be commit
59905d44e51d83f2d4a7b6844e0ae764e0b35c0c)
Andrew Bartlett [Mon, 21 Jan 2002 00:47:02 +0000 (00:47 +0000)]
getpwnam -> getpwnam_alloc
(This used to be commit
f8208458b3ac05743932d96e4d0a919adc0d9e55)
Andrew Bartlett [Mon, 21 Jan 2002 00:32:26 +0000 (00:32 +0000)]
One less Get_Pwnam_Modify call!
(the passdb backend is case-insensitive, so there isn't any point to this).
Andrew Bartlett
(This used to be commit
5e868b403340d84d68c1831a09bf1a4dd710da90)
Andrew Bartlett [Mon, 21 Jan 2002 00:25:24 +0000 (00:25 +0000)]
Add the -s command to keep smbpasswd quiet during the tests.
Andrew Bartlett
(This used to be commit
180d7e8c43d754a0ba4494707ac7924ab4a06d72)
Andrew Bartlett [Sun, 20 Jan 2002 23:17:36 +0000 (23:17 +0000)]
Inititialise the gid to what standard_sub_advanced wants for 'no value'.
Andrew Bartlett
(This used to be commit
a96503475d9c1d91c2dfcdebb4f60183432d9aff)
Andrew Bartlett [Sun, 20 Jan 2002 23:05:23 +0000 (23:05 +0000)]
Fix the negation of the extra parinoia check on machine password changes.
I *love* automated testing - this one got picked up by the build farm.
Andew Bartlett
(This used to be commit
b19296172a75449a27eb9f674c74c462b146e717)
Andrew Bartlett [Sun, 20 Jan 2002 22:51:16 +0000 (22:51 +0000)]
Also echo the smbpasswd command line
(This used to be commit
71b63db1bf08b5d0b88d5d83dca8f2c6767c4123)
Tim Potter [Sun, 20 Jan 2002 22:50:23 +0000 (22:50 +0000)]
Spelling fixes.
(This used to be commit
e67c7c5852624bcdd5c565ea5f00b143aaf7fee4)
Andrew Bartlett [Sun, 20 Jan 2002 22:20:25 +0000 (22:20 +0000)]
This should get the oldstyle domain join tests working again.
(This used to be commit
983fe933431d0ee6f2e5083a5c768b8ed8911463)
Andrew Bartlett [Sun, 20 Jan 2002 22:06:35 +0000 (22:06 +0000)]
A couple more little fixes for the domain security tests.
(This used to be commit
409fb69ecbf1849b5c92ea018eaed126a4f8a24d)
Andrew Bartlett [Sun, 20 Jan 2002 21:56:18 +0000 (21:56 +0000)]
Vance and his eagle eyes spotted a copy and paste error in my smb.conf updates.
Thanks!
Andrew Bartlett
(This used to be commit
7f7a53e8489f97ced28936252eca322c09b01d61)
Andrew Bartlett [Sun, 20 Jan 2002 21:41:07 +0000 (21:41 +0000)]
Try to see if we can get these tests working...
(This used to be commit
e809e6c20f08658f0d087c30767f9e38e53507fc)