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
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
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
Andrew Bartlett [Sat, 26 Jan 2002 01:52:52 +0000 (01:52 +0000)]
Add some information tidbits to an error DEBUG().
Jeremy Allison [Sat, 26 Jan 2002 01:20:38 +0000 (01:20 +0000)]
Fixed ADDPRINTEREX to take a devmode and a security descriptor...
Jeremy.
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.
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.
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
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.
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.
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.
Jean-François Micouleau [Fri, 25 Jan 2002 17:04:47 +0000 (17:04 +0000)]
new message type for nmbd
J.F.
Jean-François Micouleau [Fri, 25 Jan 2002 17:03:36 +0000 (17:03 +0000)]
remove unused variable
J.F.
Jean-François Micouleau [Fri, 25 Jan 2002 17:02:54 +0000 (17:02 +0000)]
picky about realloc
J.F.
Gerald Carter [Fri, 25 Jan 2002 15:47:12 +0000 (15:47 +0000)]
merge from 2.2
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
Andrew Bartlett [Fri, 25 Jan 2002 10:38:00 +0000 (10:38 +0000)]
Fix a 'const' warning.
Andrew Bartlett [Fri, 25 Jan 2002 10:16:20 +0000 (10:16 +0000)]
Bring auth_winbind into line with the protocol changes
Andrew Bartlett
Simo Sorce [Fri, 25 Jan 2002 09:55:29 +0000 (09:55 +0000)]
micro fix :-)
Tim Potter [Fri, 25 Jan 2002 05:28:38 +0000 (05:28 +0000)]
Removed dodgy init of local variable.
Jeremy Allison [Fri, 25 Jan 2002 05:28:37 +0000 (05:28 +0000)]
Return correct RPC fault PDU on bad handle incoming.
Jeremy.
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.
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()
Tim Potter [Fri, 25 Jan 2002 05:16:40 +0000 (05:16 +0000)]
Initialise password server to "*" in init_globals()
Tim Potter [Fri, 25 Jan 2002 04:26:16 +0000 (04:26 +0000)]
Removed unused static variable.
Simo Sorce [Fri, 25 Jan 2002 00:35:14 +0000 (00:35 +0000)]
minor fixes
Gerald Carter [Thu, 24 Jan 2002 17:04:30 +0000 (17:04 +0000)]
merge from 2.2
Andrew Tridgell [Thu, 24 Jan 2002 13:31:34 +0000 (13:31 +0000)]
handle filenames like .bashrc better in the new mangling code
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.
Andrew Bartlett [Wed, 23 Jan 2002 13:44:32 +0000 (13:44 +0000)]
Oops...
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 :-)
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
Tim Potter [Wed, 23 Jan 2002 11:47:19 +0000 (11:47 +0000)]
Sync up startpageprinter with appliance.
Gerald Carter [Wed, 23 Jan 2002 05:10:27 +0000 (05:10 +0000)]
merge from 2.2
Jeremy Allison [Tue, 22 Jan 2002 19:45:17 +0000 (19:45 +0000)]
Merge of fixes from 2.2.
Jeremy.
Gerald Carter [Tue, 22 Jan 2002 18:19:00 +0000 (18:19 +0000)]
merge from appliance_head
Gerald Carter [Tue, 22 Jan 2002 18:14:31 +0000 (18:14 +0000)]
merge from 2.2. of
* PRINTER_ATTRIBUTE's
* "default devmode" parameter
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.
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.
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().
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.
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.
Tim Potter [Tue, 22 Jan 2002 00:35:51 +0000 (00:35 +0000)]
Added comment about running lp_load() before calling pidfile_create().
Tim Potter [Tue, 22 Jan 2002 00:35:05 +0000 (00:35 +0000)]
Call pidfile_create() as part of init sequence.
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.
Jeremy Allison [Mon, 21 Jan 2002 23:36:47 +0000 (23:36 +0000)]
Removed freebsd hack. Not correct.
Jeremy.
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.
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.
Simo Sorce [Mon, 21 Jan 2002 07:55:35 +0000 (07:55 +0000)]
hmm, get it right this time.
Simo Sorce [Mon, 21 Jan 2002 07:54:09 +0000 (07:54 +0000)]
fix also the comment.
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.
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.
Tim Potter [Mon, 21 Jan 2002 06:12:22 +0000 (06:12 +0000)]
Spelling fix.
Andrew Bartlett [Mon, 21 Jan 2002 02:51:23 +0000 (02:51 +0000)]
getpwnam -> getpwnam_alloc
Andrew Bartlett [Mon, 21 Jan 2002 00:47:02 +0000 (00:47 +0000)]
getpwnam -> getpwnam_alloc
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
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
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
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
Andrew Bartlett [Sun, 20 Jan 2002 22:51:16 +0000 (22:51 +0000)]
Also echo the smbpasswd command line
Tim Potter [Sun, 20 Jan 2002 22:50:23 +0000 (22:50 +0000)]
Spelling fixes.
Andrew Bartlett [Sun, 20 Jan 2002 22:20:25 +0000 (22:20 +0000)]
This should get the oldstyle domain join tests working again.
Andrew Bartlett [Sun, 20 Jan 2002 22:06:35 +0000 (22:06 +0000)]
A couple more little fixes for the domain security tests.
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
Andrew Bartlett [Sun, 20 Jan 2002 21:41:07 +0000 (21:41 +0000)]
Try to see if we can get these tests working...
Simo Sorce [Sun, 20 Jan 2002 17:03:23 +0000 (17:03 +0000)]
fixes from 2.2
Andrew Bartlett [Sun, 20 Jan 2002 14:30:58 +0000 (14:30 +0000)]
This is another *BIG* change...
Samba now features a pluggable passdb interface, along the same lines as the
one in use in the auth subsystem. In this case, only one backend may be active
at a time by the 'normal' interface, and only one backend per passdb_context is
permitted outside that.
This pluggable interface is designed to allow any number of passdb backends to
be compiled in, with the selection at runtime. The 'passdb backend' paramater
has been created (and documented!) to support this.
As such, configure has been modfied to allow (for example) --with-ldap and the
old smbpasswd to be selected at the same time.
This patch also introduces two new backends: smbpasswd_nua and tdbsam_nua.
These two backends accept 'non unix accounts', where the user does *not* exist
in /etc/passwd. These accounts' don't have UIDs in the unix sense, but to
avoid conflicts in the algroitmic mapping of RIDs, they use the values
specified in the 'non unix account range' paramter - in the same way as the
winbind ranges are specifed.
While I was at it, I cleaned up some of the code in pdb_tdb (code copied
directly from smbpasswd and not really considered properly). Most of this was
to do with % macro expansion on stored data. It isn't easy to get the macros
into the tdb, and the first password change will 'expand' them. tdbsam needs
to use a similar system to pdb_ldap in this regard.
This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I
don't have the test facilities for these. I plan to incoroprate at least
pdb_ldap into this scheme after consultation with Jerry.
Each (converted) passdb module now no longer has any 'static' variables, and
only exports 1 init function outside its .c file.
The non-unix-account support in this patch has been proven! It is now possible
to join a win2k machine to a Samba PDC without an account in /etc/passwd!
Other changes:
Minor interface adjustments:
pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*.
pdb_update_sam_account() no longer takes the 'override' argument that was being
ignored so often (every other passdb backend). Extra checks have been added in
some places.
Minor code changes:
smbpasswd no longer attempts to initialise the passdb at startup, this is
now done on first use.
pdbedit has lost some of its 'machine account' logic, as this behaviour is now
controlled by the passdb subsystem directly.
The samr subsystem no longer calls 'local password change', but does the pdb
interactions directly. This allow the ACB_ flags specifed to be transferred
direct to the backend, without interference.
Doco:
I've updated the doco to reflect some of the changes, and removed some paramters
no longer applicable to HEAD.
Andrew Bartlett [Sun, 20 Jan 2002 13:26:31 +0000 (13:26 +0000)]
Kill off another ugly wart from the side of the passdb subsystem.
This time its the pdb_getsampwuid() function - which was only being used by the
SAMR rpc subsystem to gain a 'user session key'. This 'user session key' is
actually generated at login time, and the other changes here simply move that
data around.
This also means that (when I check some details) we will be able to use the
user session key, even when we are not actually the DC, becouse its one of the
components of the info3 struct returned on logon.
Andrew Bartlett
Andrew Bartlett [Sun, 20 Jan 2002 12:26:46 +0000 (12:26 +0000)]
Fix up an embarrsing bug I introduced when I moved the id21/id23 -> SAM_ACCOUNT
conversion across to the pdb_set...() interface.
Now we only set strings that are non-null. This allows Win2k to join the
domain again, particularly when using tdbsam.
Andrew Bartlett
Andrew Bartlett [Sun, 20 Jan 2002 09:00:32 +0000 (09:00 +0000)]
Kill off the old varient of 'check_plaintext_password' (new version just
committed in auth/auth_compat.c and use the new version to make the plaintext
password change slightly sane... (Needs testing).
Andrew Bartlett
Andrew Bartlett [Sun, 20 Jan 2002 08:58:21 +0000 (08:58 +0000)]
Add a touch of 'const' to some auth components, and move the simple plaintext
password check into its own helper funciton. (This will allow it to be called
from other places).
Andrew Bartlett
Andrew Bartlett [Sun, 20 Jan 2002 07:13:05 +0000 (07:13 +0000)]
Fix a couple of memory leaks in the cli_establish_connection() code's failure
case.
Thanks to Nigel Williams <nigel@wednesday.demon.co.uk> for spotting these!
Andrew Bartlett
Andrew Bartlett [Sun, 20 Jan 2002 02:40:05 +0000 (02:40 +0000)]
This is the current patch from Luke Leighton <lckl@samba-tng.org> to add a
degree of seperation betwen reading/writing the raw NamedPipe SMB packets
and the matching operations inside smbd's RPC components.
This patch is designed for no change in behaviour, and my tests hold that to be
true. This patch does however allow for the future loadable modules interface
to specify function pointers in replacement of the fixed state.
The pipes_struct has been split into two peices, with smb_np_struct taking the
information that should be generic to where the data ends up.
Some other minor changes are made: we get another small helper function in
util_sock.c and some of the original code has better failure debugs and
variable use. (As per on-list comments).
Andrew Bartlett
Andrew Bartlett [Sun, 20 Jan 2002 01:24:59 +0000 (01:24 +0000)]
This patch makes the 'winbind use default domain' code interact better with
smbd, and also makes it much cleaner inside winbindd.
It is mostly my code, with a few changes and testing performed by Alexander
Bokovoy <a.bokovoy@sam-solutions.net>. ab has tested it in security=domain and
security=ads, but more testing is always appricatiated.
The idea is that we no longer cart around a 'domain\user' string, we keep them
seperate until the last moment - when we push that string into a pwent on onto
the socket.
This removes the need to be constantly parsing that string - the domain prefix
is almost always already provided, (only a couple of functions actually changed
arguments in all this).
Some consequential changes to the RPC client code, to stop it concatonating the
two strings (it now passes them both back as params).
I havn't changed the cache code, however the usernames will no longer have a
double domain prefix in the key string. The actual structures are unchanged
- but the meaning of 'username' in the 'rid' will have changed. (The cache is
invalidated at startup, so on-disk formats are not an issue here).
Andrew Bartlett
Jeremy Allison [Sun, 20 Jan 2002 01:01:46 +0000 (01:01 +0000)]
Ensure identical between 2.2.3 and 3.0 - no need for difference here..
Jeremy.
Jeremy Allison [Sun, 20 Jan 2002 00:43:28 +0000 (00:43 +0000)]
Fix file size calculations for write cache code.
Jeremy.
Jeremy Allison [Sun, 20 Jan 2002 00:04:15 +0000 (00:04 +0000)]
Attempt to fix bugs in write cache code (yes I know it's going away :-).
Jeremy.
Jeremy Allison [Sat, 19 Jan 2002 22:54:13 +0000 (22:54 +0000)]
Readline has problems on non tty fd's. Use readline replacement to in cases
where stdin is !isatty to allow stripts to work.
Jeremy.
Jeremy Allison [Sat, 19 Jan 2002 21:37:38 +0000 (21:37 +0000)]
Added #ifdef for FreeBSD TCP bug.
Jeremy.
Jeremy Allison [Sat, 19 Jan 2002 21:29:20 +0000 (21:29 +0000)]
Report write fail in smb_dump.
Jeremy.
Jeremy Allison [Sat, 19 Jan 2002 20:21:29 +0000 (20:21 +0000)]
Fix to close winbindd_idmap on exit. Pointed out by Alexander Bokovoy.
Jeremy.
Simo Sorce [Sat, 19 Jan 2002 17:29:32 +0000 (17:29 +0000)]
fixes (asprintf) from 2.2
Andrew Bartlett [Sat, 19 Jan 2002 00:38:34 +0000 (00:38 +0000)]
Fix up runlist botchup.
Andrew Bartlett [Fri, 18 Jan 2002 23:52:43 +0000 (23:52 +0000)]
Update the build farm's test runlist and make it a bit easier to read.
Andrew Bartlett [Fri, 18 Jan 2002 08:12:10 +0000 (08:12 +0000)]
Don't do tridge's crazy 'am I a trusted domain' lookup for guests.
Andrew Bartlett
Jeremy Allison [Fri, 18 Jan 2002 03:26:53 +0000 (03:26 +0000)]
Ensure (C) message is output on startup.
Jeremy.
Jeremy Allison [Fri, 18 Jan 2002 03:08:40 +0000 (03:08 +0000)]
If 127.0.0.1 matches both allow & deny then allow. Patch from Steve Langasek vorlon@netexpress.net
Jeremy.
Andrew Bartlett [Fri, 18 Jan 2002 02:37:55 +0000 (02:37 +0000)]
This is the 'winbind default domain' patch from Alexander Bokovoy
<a.bokovoy@sam-solutions.net>.
The idea is the domain\username is rather harsh for unix systems - people don't
expect to have to FTP, SSH and (in particular) e-mail with a username like
that.
This 'corrects' that - but is not without its own problems.
As you can see from the changes to files like username.c and wb_client.c (smbd's
winbind client code) a lot of assumptions are made in a lot of places about
lp_winbind_seperator determining a users's status as a domain or local user.
The main change I will shortly be making is to investigate and kill off
winbind_initgroups() - as far as I know it was a workaround for an old bug in
winbind itself (and a bug in RH 5.2) and should no longer be relevent.
I am also going to move to using the 'winbind uid' and 'winbind gid' paramaters
to determine a user/groups's 'local' status, rather than the presence of the
seperator.
As such, this functionality is recommended for servers providing unix services,
but is currently less than optimal for windows clients.
(TODO: remove all references to lp_winbind_seperator() and
lp_winbind_use_default_domain() from smbd)
Andrew Bartlett
Jeremy Allison [Fri, 18 Jan 2002 02:30:37 +0000 (02:30 +0000)]
Tidyup & code refactoring from Martin.Sheppard@csiro.au.
Jeremy.
Jeremy Allison [Fri, 18 Jan 2002 02:15:04 +0000 (02:15 +0000)]
Ensure we log tdb open fails. Patch from Alexander Bokovoy <a.bokovoy@sam-solutions.net>
Jeremy.
Jeremy Allison [Fri, 18 Jan 2002 00:36:16 +0000 (00:36 +0000)]
Added prs_mem_clear(). Clear memory on buffer reallocation. That way
we're not returning what the client gave us.
Jeremy.
Jeremy Allison [Fri, 18 Jan 2002 00:19:45 +0000 (00:19 +0000)]
Always clear malloced memory for parse structs.
Jeremy.
Andrew Bartlett [Thu, 17 Jan 2002 08:45:58 +0000 (08:45 +0000)]
A nice *big* change to the fundemental way we do things.
Samba (ab)uses the returns from getpwnam() a lot - in particular it keeps
them around for a long time - often past the next call...
This adds a getpwnam_alloc and a getpwuid_alloc to the collection.
These function as expected, returning a malloced structure that can be
free()ed with passwd_free(&passwd).
This patch also cuts down on the number of calls to getpwnam - mostly by
taking advantage of the fact that the passdb interface is already
case-insensiteve.
With this patch most of the recursive cases have been removed (that I know
of) and the problems are reduced further by not using the sys_ interface
in the new code. This means that pointers to the cache won't be affected.
(This is a tempoary HACK, I intend to kill the password cache entirly).
The only change I'm a little worried about is the change to
rpc_server/srv_samr_nt.c for private groups. In this case we are getting
groups from the new group mapping DB. Do we still need to check for private
groups? I've toned down the check to a case sensitve match with the new code,
but we might be able to kill it entirly.
I've also added a make_modifyable_passwd() function, that copies a passwd
struct into the form that the old sys_getpw* code provided. As far as I can
tell this is only actually used in the pass_check.c crazies, where I moved
the final 'special case' for shadow passwords (out of _Get_Pwnam()).
The matching case for getpwent() is dealt with already, in lib/util_getent.c
Also included in here is a small change to register the [homes] share at vuid
creation rather than just in one varient of the session setup. (This picks
up the SPNEGO cases). The home directory is now stored on the vuid, and I
am hoping this might provide a saner way to do %H substitions.
TODO: Kill off remaining Get_Pwnam_Modify calls (they are not needed), change
the remaining sys_getpwnam() callers to use getpwnam_alloc() and move
Get_Pwnam to return an allocated struct.
Andrew Bartlett
Andrew Bartlett [Thu, 17 Jan 2002 07:14:21 +0000 (07:14 +0000)]
Move the bang (!) command back to the bottom of the list, allowing smbclient
to function again.
Add comment to warn anybody that wants to 'Alphabetize' the list to read crh's
existing comment on the issue.
Andrew Bartlett
Tim Potter [Thu, 17 Jan 2002 05:07:36 +0000 (05:07 +0000)]
Made a debug look nicer.
Tim Potter [Thu, 17 Jan 2002 03:03:58 +0000 (03:03 +0000)]
Added some guards.
Tim Potter [Thu, 17 Jan 2002 02:54:23 +0000 (02:54 +0000)]
Fixed typo.
Herb Lewis [Thu, 17 Jan 2002 01:18:13 +0000 (01:18 +0000)]
new config files for winbindd startup
Andrew Tridgell [Thu, 17 Jan 2002 01:05:34 +0000 (01:05 +0000)]
fixed a typo in the error map for WRONG_PASSWORD
Andrew Tridgell [Thu, 17 Jan 2002 00:25:13 +0000 (00:25 +0000)]
don't use O_NONBLOCK in open(). This was added erroneously for kernel
oplocks and really shouldn't be used