1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

4443 Commits

Author SHA1 Message Date
Christopher R. Hertel
56be7c2a49 Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()
when looking up the WINS server address.

Please *don't* use lp_wins_server() any more!

The wins_srv_ip() function has the following features:

- If the WINS server was entered as a DNS name then the translation to an
  IP address will already have taken place.  We used to do this every time
  a call to the WINS server was made.  Ick.

- The return value of wins_srv_ip() is a struct in_addr.  Ready to go.

- When WINS failover is fully implemented, you'll be able to enter a colon-
  separated list of WINS servers via the WINS SERVER parameter.  Using
  lp_wins_server() directly will fail if this syntax is used.

Chris -)-----
-
Herb Lewis
8ad653f9eb Try this again on the right machine. Adding files for PCP samba pmda -
Tim Potter
5f3cf2eb78 Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS. -
Herb Lewis
8586624815 sync with 2.2. tree -
Herb Lewis
bbb24daa25 changes to sync with 2.2. tree
.cvsignore              remove config.h - not in this directory
include/profile.h       profile changes
lib/messages.c          added message to return debug level
libsmb/clierror.c       cast to get rid of compiler warning
libsmb/smbencrypt.c     cast to get rid of compiler warning
profile/profile.c       add flush profile stats changes for profile struct
rpc_parse/parse_samr.c  fix for compiler warning
rpc_server/srv_samr.c   cast to get rid of compiler warning
smbd/ipc.c              profile stats
message.c               profile stats
smbd/negprot.c          profile stats
smbd/nttrans.c          profile stats
smbd/trans2.c           profile stats
utils/smbcontrol.c      new flush stats command
-
Tim Potter
e87b2d3d1f Modified initgroups to provide a get groups a user is a member of
functionality.  This is much faster than inverting the group database.

Added client side command for this to wbinfo.
-
Tim Potter
15d7f16bdc Don't initialise groups twice. -
Tim Potter
5375261152 Remove duplicate group initialisation function.
Don't initialise groups twice.
-
Jeremy Allison
b057a7349b Fix to avoid calling getgrgid for no reason.
Jeremy.
-
Jeremy Allison
13395514c6 Fix for growing printing.tdb by adding check on job creation.
This also updates the printing.tdb db version to 2.
Jeremy.
-
Jeremy Allison
e85a0fadd8 Remove lpq as root fix - do this in print_job_start instead
as part of print queue length processing.
Jeremy.
-
Jeremy Allison
6581066b93 Fixes to periodically scan printing.tdb in idle time and occasionally
on exit. Needed to fix printing.tdb from groving to 300Mb+ if being
driven by smbclient clients that never ask for status... (effective
DOS attack :-).
Jeremy.
-
Jeremy Allison
b41cc5fea7 Fix found by Andrew to stop local/remote printers being
confused. check_printer_ok was causing SETPRINTER calls to fail.
Jeremy.
-
Jeremy Allison
5518f59976 Fixed Realloc memory fragmentation problems.
Jeremy.
-
Jeremy Allison
443293a065 Fixed nasty size wrong bug spotted by the eagle eyes of
JF :-).
Jeremy.
-
Jeremy Allison
6696bf203c Added debug so we can see how winbindd converts SIDS.
Jeremy.
-
Gerald Carter
fca30085cc Just in case anyone thinks that Win ME is not freally just a
facelift for Win98/95


jerry
-
Jean-François Micouleau
94f4024481 a netlogon enum trust query doesn't have a function_code at end.
a sam_user_info_24 doesn't have a uint16 at end
samr_create_user also creates the unix account now
samr_set_userinfo changes the password.

        J.F.
-
Andrew Tridgell
6e4a358552 got rid of tdb_writelock() and instead lock a chain. tdb_writelock()
is conceptually flawed
-
Andrew Tridgell
ca443210c8 added tdb_lock_bystring() and tdb_unlock_bystring() -
Andrew Tridgell
e4ea0a5975 don't use gets() ! -
John Terpstra
3fb2e94c44 Fixes to allow wins.c to compile to allow building of libnss_wins.so. -
Jean-François Micouleau
044246fe7e I introduced a bug in my last commits. Hopefully nobody noticed :-)
J.F.
-
Jeremy Allison
4eecc63be5 Missing conn parameter missed in vfs rewrite.
Jeremy.
-
Jeremy Allison
1f156b2420 sys_popen got damaged when converted from FILE * to int fd I think.
Patrick Powell kindly pointed out the bug.
Jeremy.
-
Jean-François Micouleau
c49cc88445 more cleanup of samr
J.F.
-
Jean-François Micouleau
b655bc281f added samr_set_user_info and info_2.
cleanup of create_user
cleanup of rid/sid mix in samr. now we only have sid.

some prs_align() missing in parse_samr.c

a small debug change in srv_pipe.c

You still can't change a user's password in this commit.
Will be availble in the next one.

	J.F.
-
Jeremy Allison
279d0ec656 Ensure browse.dat is written and read in UNIX character set format.
Jeremy.
-
Jeremy Allison
d9eedd5db1 Integrated support for NT and OS/2 lpq parsing. Code from
Jim McDonough
Infoprint Manager Development
Linux Technology Center
IBM Boulder

Jeremy.
-
Jeremy Allison
44ed8abb2a Fix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
Jeremy.
-
Jeremy Allison
e49566c2e2 Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk
Jeremy.
-
Jeremy Allison
4862d2ab11 Added Herb's fixes to HEAD.
Jeremy.
-
Jeremy Allison
dd804fdb96 Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.
Jeremy.
-
Jeremy Allison
c18d6f8701 Print socket options - patch from Dave Collier-Brown @ Sun.
Jeremy.
-
Jeremy Allison
9471027843 Fixed error return messages needed for NTTrans CreateDirectory.
This patch allows the standard W2k recursive mkdir to work against
Samba.
Jeremy.
-
Jeremy Allison
698288cb9d Proto update. Also fix from John Reilly @ HP for not showing APW with W2K.
Jeremy.
-
Jeremy Allison
dfe77c7046 Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!).
Jeremy.
-
Tim Potter
e451fd3461 global_myname is actually a pstring. -
Jeremy Allison
0811d080ab Inlined many of the vfs_XXX calls as macros for speed.
Jeremy.
-
Jeremy Allison
b07611f815 Restructuring of vfs layer to include a "this" pointer - can be an fsp or
a conn struct depending on the call.
We need this to have a clean NT ACL call interface.
This will break any existing VFS libraries (that's why this is pre-release
code).
Andrew gets credit for this one :-) :-).

In addition - added Herb's WITH_PROFILE changes - Herb - please examine
the changes I've made to the smbd/reply.c code you added. The original
code was very ugly and I have replaced it with a
START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor.
Please check this compiles ok with the --with-profile switch.
Jeremy.
-
Jeremy Allison
d4d5548839 Fix for null passwords being allowed bug.
Jeremy.
-
Jeremy Allison
623bfa6c93 Fixes from Damian at Cisco to tidy up some tdbtool issues.
Jeremy.
-
Jeremy Allison
b90af886a9 Vector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be added
above this layer.
Jeremy.
-
Jeremy Allison
7914e9351a Herb's fixes for profiling & compiler warnings.
Jeremy.
-
Jean-François Micouleau
3664e80fcd someone forgot to update proto.h :-)
J.F.
-
Jean-François Micouleau
83bfe94771 fixing prs_unistr2(). For the special case of an empty (but existing)
string.

	J.F.
-
Tim Potter
178e697100 Spelling flames. (-: -
Tim Potter
2817b6cc8a Added uid and gid to push_sec_ctx() debug. -
Tim Potter
ec7f7e350d Fixed compiler warnings. -
Jeremy Allison
b0c40236bb Made re-init of stat cache explicit rather than being hidden.
Jeremy.
-