summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-06-26- completely rewrote the wins_srv.c code. It is now much simpler, andAndrew Tridgell6-331/+126
gives us a good grounding to properly support multiple wins servers for different interfaces (which will be coming soon ...) - fixed our wins registration failover code to actually do failover! We were not trying to register with a secondary wins server at all when the primary was down. We now fallback correctly. - fixed the multi-homed name registration packets so that they work even in a non-connected network (ie. when one of our interfaces is not routable from the wins server. Yes, this really happens in the real world). (This used to be commit a049360d5b0d95a935b06aad43efc17d34de46dc)
2002-06-26fixed 3 bugs in jeremys trans2 merge. Hopefully it now works.Andrew Tridgell1-8/+4
(This used to be commit 4a7813711130625598e0ffe92e7938890b818d2f)
2002-06-26reverted some bogus test code that jeremy accidentally committedAndrew Tridgell1-8/+0
(This used to be commit 6b28ca8bd2a6613989bb23be951836d173296197)
2002-06-26Another bug fix from metze.Andrew Bartlett1-1/+1
(This used to be commit 5c754cef19c9580e2cb1e23152a1097d11ca8c60)
2002-06-26Qualify some of the hexidecimal responses with 0xAndrew Bartlett1-5/+5
(This used to be commit e77e21cdbe2cb2d594494dd6e5cac37b5b1bcab8)
2002-06-25And fix another missing ubiqx...Andrew Bartlett1-1/+1
(Didn't have smbmnt compiled in originally, so it missed my tests) (This used to be commit 184be390a842221470cdc20f05eb3dc14de5b534)
2002-06-25Fix the smbmnt compile.Andrew Bartlett1-1/+1
(This used to be commit 987633021f13d2c3571fbe2c1f9ff86a14c046e6)
2002-06-25I'm going to try and check this against Win2k shortly, but I'm certain thatAndrew Bartlett1-1/+1
'NT_STATUS_OK' is not the right answer here. Try NO_MORE_ENTRIES for now. Andrew Bartlett (This used to be commit c98b9a965905f1876b4884f932ff2e0237d85b03)
2002-06-25Try to avoid infinite loops when reteriving users - even from broken servers.Andrew Bartlett1-1/+4
Andrew Bartlett (This used to be commit ebc8452a30b2a9bdd6698af8dad489f3f92ae7a6)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett12-158/+67
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-06-25And another .cvsignoreAndrew Bartlett1-0/+1
(This used to be commit fa0037a294a9faaf3cdc894e2ec1280dad157553)
2002-06-25Add a .cvsignore fileAndrew Bartlett1-0/+1
(This used to be commit 7f81e423d2fcfd3a97920d1c5f50d9020355428b)
2002-06-25Kill off unnecessary cast.Andrew Bartlett1-2/+3
(This used to be commit 658e853bc6914113dcd4f67d7a1d2761372b562d)
2002-06-25Break up samba's object dependencies, and its prototype includes.Andrew Bartlett14-183/+268
Now smbclient, net, and swat use their own proto files - now the global proto.h The change to libads/kerberos.c was to break up the dependency on secrets.c - we want to be able to write an ADS client that doesn't need local secrets. I have other breakups in the works - I will remove the dependency of rpc_parse on passdb (and therefore secrets.c) shortly. (NOTE: This patch does *not* break up includes.h, or other such forbidden actions). Andrew Bartlett (This used to be commit edb41dad2df0ae3db364dbc3896cc75956262edf)
2002-06-25Add a couple more DEBUG()s to winbindd.Andrew Bartlett1-4/+9
Andrew Bartlett (This used to be commit 3b2464ffdad5e64a05e227b50116cb59f6d34204)
2002-06-25fixed a bug in handling select in the main daemon - this stops the daemon ↵Andrew Tridgell1-12/+6
spinning if a signal is received at an inconvenient moment (This used to be commit d8d7dd523d897ea25a572c8f21903e94e8485404)
2002-06-25removed compiler warningGerald Carter1-1/+1
(This used to be commit 73ba155a6bba150b5bd8385fd609ed7fea30f02f)
2002-06-25merge of SONAMEFLAG stuff from SAMBA_2_2. If I stepped on somethingGerald Carter3-820/+921
here because HEAD does it differently, someone let me know. This looks ok and compiles fine from what I can tell. (This used to be commit 68841ae76289369c0b2e9e964bad1746e6e2cc8b)
2002-06-24merging some autoconf changes from SAMBA_2_2Gerald Carter3-1091/+1025
(This used to be commit 708c6b8297e720c0d0146e66e3a011feabe01531)
2002-06-24sync with the sec_desc parsing fix from APP_HEAD. I will probably needGerald Carter1-16/+11
to revisit this some. (This used to be commit f471c880db8562231f2d6623124d3e9c31559f4c)
2002-06-24replacing free() with SAFE_FREE() where possibleGerald Carter1-8/+8
(This used to be commit 5a4a7e5a88f4fdc5891436b05e44b05d1e7ad3f1)
2002-06-24backing out changes for nowGerald Carter1-11/+11
(This used to be commit e3422addeb2a74ba92e3b5374d1a1efbcc825d5a)
2002-06-24compile fixGerald Carter1-0/+1
(This used to be commit b07d6d4cebecd77314b123d83c7c2265eb62e1c1)
2002-06-24forgot new error code from 2.2Gerald Carter1-0/+1
(This used to be commit 8b805be8e8d1a5616158d39427ad640de4210de9)
2002-06-24printing merge from SAMBA_2_2. Ther server code looks to be in sync now.Gerald Carter6-71/+131
Mostly formatting and s/free/SAFE_FREE/g changes with the two exceptions being * John driver init changes * Tim's printer enumeration bug fix (This used to be commit f7536762863811f96364e8acd3716bdb7d665bbf)
2002-06-24Support utf8 on the wire for ads ldap. DN's are converted, as well as strings,Jim McDonough4-349/+315
though it is up to the calling function to decide whether values are strings or not. Attributes are not converted at this point, though support for it would be simple. I have tested it with users and groups using non-ascii chars, and if the check for alphanumeric user/domain names is removed form sesssetup.c, even a user with accented chars can connect, or even login (via winbind). I have also simplified the interfaces to ads_mod_*, though we will probably want to expand this by a few functions in the near future. We just had too many ways to do the same thing... (This used to be commit f924cb53580bc081ff34e45abba57629018c68d6)
2002-06-24Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthroughJeremy Allison3-1074/+1532
now supported in HEAD. Jeremy. (This used to be commit 082c5c084ef870709d3046f580eef597bb2aeef3)
2002-06-24much better findstatic scriptAndrew Tridgell2-59/+65
(This used to be commit 2947b7624f921032bcd2cc5507747b2f7ef190de)
2002-06-24Try to get security=domain at least slightly working.Andrew Bartlett2-8/+13
The previous code both had basic logic flaws in it, and some subtle issues regarding the Win2k info3 response. I've tested this against Samba (it looks like that was missed last time due to the 'called name' corruption - which broke my testsuite) and accomidated what I've seen from a info3 printout jmcd gave me. I'll get this tested fully as soon as I get my VMware going again. Andrew Bartlett (This used to be commit 87eba4c811293d2428bfb9bc36de22e66dce7f8b)
2002-06-22Add module versioning to the passdb module systemAndrew Bartlett3-2/+32
All passdb modules need to include a 'magic' macro that creates simple 'return my version number' function. (from metze and jelmer) Also fix up the dir_drive autosubsitute code to correctly use lp_logon_drive(). (from metze) Andrew Bartlett (This used to be commit 4a57c445dd4354034fc41b132a484afe6ab66e16)
2002-06-22Raise some debug levels.Andrew Bartlett2-2/+2
Andrew Bartlett (This used to be commit 5c0e4ecfaf9bf7e6e799dceeb275b5db2d4142dd)
2002-06-21Don't use uint. It doesn't exist on some platforms and we don't define it.Jeremy Allison8-14/+22
Replaced with "unsigned int". Jeremy. (This used to be commit 5841ca54b6a8c36f3d76c12570ff8f2211ed2363)
2002-06-21Fixed incorrect debug.Tim Potter1-1/+1
(This used to be commit a905b5f49db6a12c9a562e1d5e3981dc3525fd27)
2002-06-21Format tidyup before I start working on scalability fixes (one file perJeremy Allison1-74/+134
print queue). Jeremy. (This used to be commit 6544a500d0696c9fe1f1abc067a8b963a0e2b8da)
2002-06-21Changed level of "bind succeded on port %d" debug to 10.Tim Potter1-1/+1
(This used to be commit de00428ef12b597e5c29896bf961cfd7a1e122dd)
2002-06-20Fix from Andrew Esh for not checking return code.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 629cea2ff4f640cd60d9ecfa72acf2707b3f1ff4)
2002-06-20Remove "inline" - shouldn't be in portable code.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4a5aa918d9eecc130a5126a255f8a6b5cde8044f)
2002-06-20Got rid of unused flags field in lanman api_commands[].Tim Potter1-36/+49
Added an auth_user field which denotes whether the api call can be made anonymously. In combination with lp_restrict_anonymous() this can decrease the amount of information that can be retrieved anonymously. So far NetShareEnum, NetSessionEnum, NetGroupEnum, NetGroupGetUsers, NetUserEnum, PrintQEnum, NetFileEnum cannot be called anonymously. SamOEMChangePassword and NetServerEnum can be called anonymously. All other functions can be called anonymously until it can be proven that they can't to avoid breaking anything. (This used to be commit ead6ab9602640aca5d1d8ac336f3a129f9466159)
2002-06-20Renamed policy handle field in object containers to avoid cut&paste bugs.Tim Potter1-6/+6
(This used to be commit 93309c0ad4cd66680f94d7a46028b4d392d1cc06)
2002-06-20Added samr_open_domain() call.Tim Potter1-19/+77
(This used to be commit 97f70f2cfff72d6040c72d34a569f5c889cbff2e)
2002-06-20Compile fix for new arguments to cli_full_connection()Tim Potter1-9/+2
(This used to be commit 0d05c8ce54c3fa859abb8bd2ac13cacaed63e95c)
2002-06-20Fixed compiler warning.Tim Potter1-1/+1
(This used to be commit c29cef7f3408714d4e6e18906760d74016c6748f)
2002-06-19Fixed typo in debug.Tim Potter1-1/+1
(This used to be commit 80e7f8f2f59136f53c236a37b5f16f6ffa0d391a)
2002-06-19when nmbd starts up it is possible that dhcp hasn't started the localAndrew Tridgell1-4/+9
interfaces yet. Instead of giving up, nmbd will now wait for some interfaces to appear (This used to be commit 612ae5313250aec80c94782d55cbf755dd4a9a4f)
2002-06-18more debug classess activatedSimo Sorce56-2/+163
(This used to be commit 897e64d2e0c1d04ab93441ccaffe369bf43be46e)
2002-06-17compile warngin fixes merged from 2.2Gerald Carter8-25/+29
(This used to be commit 29874f4b8fecdc7cbd84d656dafce54cca49e0b1)
2002-06-17Fixed typo in debug.Tim Potter1-1/+1
(This used to be commit 41f036ab37274ce7cdd782ead764dd1a36ecba1d)
2002-06-16Cope with the requirement for constant initialisers on some unix C compilers.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 11b6d283d3c1408c89b03918f3a0c034411f5966)
2002-06-16Further updates to the service.c code. authorise_login() is now a bit simpilerAndrew Bartlett2-6/+6
and we seem to have eliminated the segfault. Unfortunetly I'm still at a bit of a loss as to why it did segfault, but the patch is correct in any case. Andrew Bartlett (This used to be commit 70c16188c7a267f9f3f8de0b6830f66c9e68a2c7)
2002-06-16Two things: Check how many paramaters that the LDAP libs take for theAndrew Bartlett4-94/+199
rebind proc (some give an extra paramter to pass a void* paramater) and some small changes for the SMB signing code to reset things when the signing starts, and to 'turn off' signing if the session setup failed. Andrew Bartlett (This used to be commit a8805a34e5d96eeb5ffe15681b241d5a449a6144)