Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow a winbind client to obtain the server's domain name. | Andrew Bartlett | 2002-01-26 | 1 | -1/+13 |
| | |||||
* | Remove the 'direct to winbind' hacks, as they should (if I understand | Andrew Bartlett | 2002-01-26 | 1 | -12/+0 |
| | | | | | | | | 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 always points at a string literal, so it probably should be 'const'. | Andrew Bartlett | 2002-01-26 | 1 | -1/+1 |
| | |||||
* | Fix up a security issue with the way we handle domain groups retuned on the | Andrew Bartlett | 2002-01-26 | 3 | -25/+20 |
| | | | | | | | | | | | 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 | ||||
* | fix typo | Andrew Bartlett | 2002-01-26 | 1 | -1/+1 |
| | |||||
* | The new plugable password backend system needs to be initialised after | Andrew Bartlett | 2002-01-26 | 1 | -5/+5 |
| | | | | | | lp_load(). Andrew Bartlett | ||||
* | These changes commited on a 'no less broken' basis. | Andrew Bartlett | 2002-01-26 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Try to get the compiler not to complain about assignments and truth values... | Andrew Bartlett | 2002-01-26 | 1 | -2/+1 |
| | | | | Andrew Bartlett | ||||
* | Try to move towards slightly sane linking for Samba by removing some pdb_...() | Andrew Bartlett | 2002-01-26 | 2 | -29/+62 |
| | | | | | | | | | | 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 | ||||
* | Add some information tidbits to an error DEBUG(). | Andrew Bartlett | 2002-01-26 | 1 | -1/+1 |
| | |||||
* | Fixed ADDPRINTEREX to take a devmode and a security descriptor... | Jeremy Allison | 2002-01-26 | 3 | -36/+37 |
| | | | | Jeremy. | ||||
* | that's the wins replication daemon ! | Jean-François Micouleau | 2002-01-25 | 8 | -2/+2789 |
| | | | | | | there are still some work to do on it but it's already functionnal. J.F. | ||||
* | rewrote nmbd's wins backend to use a tdb instead of a flat text file. | Jean-François Micouleau | 2002-01-25 | 4 | -267/+683 |
| | | | | | | | | | | | | 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. | ||||
* | Change this code so that we don't do a lookup_name() on root. | Andrew Bartlett | 2002-01-25 | 1 | -11/+3 |
| | | | | | | | | | | | 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 | ||||
* | Enable net ads commands to use existing tickets if the user doesn't specify ↵ | Jim McDonough | 2002-01-25 | 3 | -5/+24 |
| | | | | 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. | ||||
* | Fixed display of "remote downlevel document" in old print job submission | Jeremy Allison | 2002-01-25 | 3 | -4/+14 |
| | | | | | case. Jeremy. | ||||
* | Make systemtime work for spooling on bigendian systems. Fix from | Jeremy Allison | 2002-01-25 | 1 | -3/+20 |
| | | | | | Benjamin (Bj) Kuit bj@it.uts.edu.au. Jeremy. | ||||
* | new message type for nmbd | Jean-François Micouleau | 2002-01-25 | 1 | -0/+1 |
| | | | | J.F. | ||||
* | remove unused variable | Jean-François Micouleau | 2002-01-25 | 1 | -1/+0 |
| | | | | J.F. | ||||
* | picky about realloc | Jean-François Micouleau | 2002-01-25 | 1 | -5/+6 |
| | | | | J.F. | ||||
* | merge from 2.2 | Gerald Carter | 2002-01-25 | 1 | -1/+1 |
| | |||||
* | Passdb changes: | Andrew Bartlett | 2002-01-25 | 3 | -11/+30 |
| | | | | | | | | | | 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 | ||||
* | Fix a 'const' warning. | Andrew Bartlett | 2002-01-25 | 1 | -1/+1 |
| | |||||
* | Bring auth_winbind into line with the protocol changes | Andrew Bartlett | 2002-01-25 | 1 | -0/+3 |
| | | | | Andrew Bartlett | ||||
* | micro fix :-) | Simo Sorce | 2002-01-25 | 1 | -0/+1 |
| | |||||
* | Removed dodgy init of local variable. | Tim Potter | 2002-01-25 | 1 | -1/+1 |
| | |||||
* | Return correct RPC fault PDU on bad handle incoming. | Jeremy Allison | 2002-01-25 | 3 | -0/+15 |
| | | | | Jeremy. | ||||
* | Much more useful handling of backup domain controllers in winbindd. Honour | Tim Potter | 2002-01-25 | 1 | -25/+51 |
| | | | | | | | | 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. | ||||
* | Remove check for passwordserver = "*" as we now initialise it. | Tim Potter | 2002-01-25 | 1 | -1/+6 |
| | | | | | Added TODO about perhaps doing a SAMLOGON udp/138 request before a cli_full_connection in connect_to_domain_password_server() | ||||
* | Initialise password server to "*" in init_globals() | Tim Potter | 2002-01-25 | 1 | -0/+1 |
| | |||||
* | Removed unused static variable. | Tim Potter | 2002-01-25 | 1 | -1/+0 |
| | |||||
* | minor fixes | Simo Sorce | 2002-01-25 | 4 | -12/+15 |
| | |||||
* | merge from 2.2 | Gerald Carter | 2002-01-24 | 13 | -1018/+397 |
| | |||||
* | handle filenames like .bashrc better in the new mangling code | Andrew Tridgell | 2002-01-24 | 1 | -8/+12 |
| | |||||
* | Check request flag for unicode capability and respond accordingly, rather ↵ | Jim McDonough | 2002-01-23 | 1 | -1/+2 |
| | | | | than only doing unicode. smbfs didn't work. | ||||
* | Oops... | Andrew Bartlett | 2002-01-23 | 1 | -1/+1 |
| | |||||
* | getpwnam -> getpwnam_alloc. | Andrew Bartlett | 2002-01-23 | 6 | -13/+27 |
| | | | | idra has promised not to revert these this time :-) | ||||
* | Change the order of this a bit - as unix password change can fail. | Andrew Bartlett | 2002-01-23 | 1 | -11/+12 |
| | | | | | | This due for abstraction into chgpasswd.c shortly. Andrew Bartlett | ||||
* | Sync up startpageprinter with appliance. | Tim Potter | 2002-01-23 | 1 | -5/+5 |
| | |||||
* | merge from 2.2 | Gerald Carter | 2002-01-23 | 1 | -3/+3 |
| | |||||
* | Merge of fixes from 2.2. | Jeremy Allison | 2002-01-22 | 3 | -15/+15 |
| | | | | Jeremy. | ||||
* | merge from appliance_head | Gerald Carter | 2002-01-22 | 1 | -2/+5 |
| | |||||
* | merge from 2.2. of | Gerald Carter | 2002-01-22 | 2 | -20/+23 |
| | | | | | * PRINTER_ATTRIBUTE's * "default devmode" parameter | ||||
* | Ensure fsp->size is correct so readraw's return correct data. | Jeremy Allison | 2002-01-22 | 1 | -9/+14 |
| | | | | Jeremy. | ||||
* | Add more string explanations of RAP errors that are already documented | Martin Pool | 2002-01-22 | 1 | -8/+17 |
| | | | | in clirap2. | ||||
* | We have to do some initialization before the string conversion | Martin Pool | 2002-01-22 | 1 | -13/+15 |
| | | | | | | 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(). | ||||
* | Raise log level of warning produced when the open() of the tdb fails. | Tim Potter | 2002-01-22 | 1 | -1/+1 |
| | | | | Sometimes an open error is OK. | ||||
* | Display tdb name of "unknown" in logging debug when tdb has not been named. | Tim Potter | 2002-01-22 | 1 | -1/+1 |
| | |||||
* | Added comment about running lp_load() before calling pidfile_create(). | Tim Potter | 2002-01-22 | 1 | -1/+4 |
| | |||||
* | Call pidfile_create() as part of init sequence. | Tim Potter | 2002-01-22 | 1 | -0/+3 |
| |