1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

10238 Commits

Author SHA1 Message Date
Andrew Tridgell
18e55a69ff a better for for using %U in smb.conf
this follows the method used for remote_machine and also fixes the
problem of anonymous connections clobbering the string
(This used to be commit 9ead4fc3c3f8b83f03c762a4dab77a64aabccbf9)
2002-11-19 23:44:24 +00:00
Christopher R. Hertel
22a08a5b12 Fixed two very, very minor typos (that sort of just annoyed me).
(This used to be commit b24e0e9e6d77604ca23fe55734457d8a3d74d585)
2002-11-19 22:05:00 +00:00
Jeremy Allison
cbecefb1b2 Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
(This used to be commit 801b87e0f7c92553dc52b44d669a1795e2b9429f)
2002-11-19 01:45:55 +00:00
Tim Potter
b2201f2f39 Merge from appliance:
>Fix memory leak in cli_ds_getprimarydominfo()
(This used to be commit e643003dd4666d532604d86050d77f8b4212877e)
2002-11-19 01:14:00 +00:00
Tim Potter
d797c7986e Fix typo in docstring.
(This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)
2002-11-19 01:02:43 +00:00
Jeremy Allison
b49e3ed0b5 Added HIDDEN/NORMAL attribute test.
Jeremy.
(This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)
2002-11-18 23:12:45 +00:00
Tim Potter
ce93216c93 Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
(This used to be commit 2beebe252f8fc76366d38024b0578f83d8542d1d)
2002-11-18 22:46:45 +00:00
Jim McDonough
713b2f0b47 Don't pass a function to ADS_ERR_OK().
(This used to be commit a148e4c290820a48c8b51e0e0459b2171b32c258)
2002-11-18 20:46:20 +00:00
Jim McDonough
e151b54dce Revert ADS_ERR_OK change. Some compilers didn't like it.
The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS
causes the function to be run mulitple times...so you have to return a status,
then check it with the macro.
(This used to be commit c03d6198f28ab37ba0c3224bd50779357270486d)
2002-11-18 20:40:44 +00:00
Jim McDonough
711ad374ce Back out some goofs that accidentally checked in with printer publishing.
(This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)
2002-11-18 19:56:55 +00:00
Jim McDonough
bbd3e4b40a Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.

Next comes doing it within smbd
(This used to be commit 64951938cc5666a757683cbe9bee3a2c20a05323)
2002-11-18 19:50:36 +00:00
Gerald Carter
28a61607a7 bad date string in specfile
(This used to be commit c702f95e258c826b72efeb04342aaf821f251bc2)
2002-11-18 16:00:12 +00:00
Gerald Carter
e9752bf4ca sync packaging changes with SAMBA_3_0
(This used to be commit 45adf8c0fffe52731cd2da0d461b7292d0f6c817)
2002-11-18 15:59:04 +00:00
Gerald Carter
a40359b6e9 use ${RPM} for rpm v4.1
(This used to be commit 95b26474a237f4073828b2001d21b6111ace3098)
2002-11-18 15:47:48 +00:00
Gerald Carter
155048633f formatting fix
(This used to be commit 6ce20a61a85f129d42c06844d51f4b2b35b41869)
2002-11-18 15:45:06 +00:00
Andrew Tridgell
1000b717a8 the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'

This changes fixes things again, by checking for reload after we setup
current_user in tconx.
(This used to be commit d664e6b4d20d545b31910666d9cea7384fd40a73)
2002-11-18 03:11:59 +00:00
Tim Potter
4cb48b9154 Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC
headers.
(This used to be commit d813997c5a66f786b191459de0dd030f4a1c539e)
2002-11-17 01:14:30 +00:00
Tim Potter
ab539de20f Added for the people who want to use Windows XP with plaintext
passwords.  From dcb.
(This used to be commit 1ebc6d04e198267377e0293d9cf369010a3ea92e)
2002-11-16 23:59:57 +00:00
Jelmer Vernooij
45022968b3 Update docs status document
(This used to be commit ffe1626d879d95f8bef42e9bd331a17d524e620b)
2002-11-16 02:23:34 +00:00
Jelmer Vernooij
7018b27864 Update for 3.0
(This used to be commit 6430bef92c416692e7b2a9c550d8cf17c26aaa81)
2002-11-16 02:17:23 +00:00
Jelmer Vernooij
35f4ebdc21 Update for 3.0
(This used to be commit ca3bfea8e79dc7bf04840b58c2fd79b1e1dc2c9f)
2002-11-16 01:55:01 +00:00
Andrew Bartlett
ce4d6389df /bin/sh on solaris swallows the failure code, so exec this directly.
Andrew Bartlett
(This used to be commit 35b73aa0a139721d8560e81ba1caf26ebdf7d0b6)
2002-11-15 23:48:39 +00:00
Richard Sharpe
7b581a60d2 One more small fix in tree.c
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)
2002-11-15 22:55:15 +00:00
Richard Sharpe
b45c92f31e Fix some problems with tree.c reported by users.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
2002-11-15 22:51:03 +00:00
Andrew Bartlett
f85da55c37 Remove the assumption that all Solaris has -lsendfile.
Andrew Bartlett
(This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
2002-11-15 21:56:14 +00:00
Andrew Bartlett
1cc2d96cac Add samdump and vampire to 'net rpc help'
Andrew Bartlett
(This used to be commit cc7566ca508f8705a95cdd546553a018731d5f5f)
2002-11-15 21:28:33 +00:00
Andrew Bartlett
171f345282 Add const to PACKS()
(This used to be commit 0e87408eb0e2786589e23cf4435a0d3223cf55cc)
2002-11-15 21:27:55 +00:00
Andrew Bartlett
77d0ff6357 Include the hostname we are trying to match with $@, to allow easier debugging.
(This used to be commit f5d8afc626b8f7792aa7dd7fa7082f55725b539c)
2002-11-15 21:25:40 +00:00
Andrew Bartlett
ac29d6b310 Small auth updates:
- add static remove unnneded prototype
 - move become_root() to just around pdb calls, so as to make it easier to
remove when we kill off this silly idea
 - Change auth_sam to do 'account before password' rather than 'password before
account'.  This means that we match Win2k in giving 'account disabled' instead
of 'wrong password' if the wrong password to a disabled account is used.

Andrew Bartlett
(This used to be commit e6d2debaf6064c3229f41c06545a1ccb83695a77)
2002-11-15 21:23:55 +00:00
Andrew Bartlett
973645cf2d patch from aedil@alchar.org to correctly detect solaris workshop CC's ability
to build shared libs (but not with .po suffix).

Andrew Bartlett
(This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)
2002-11-15 21:15:51 +00:00
Jeremy Allison
fdd3cf7afc Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
release.
Jeremy.
(This used to be commit 507ff510e7e7d63e02be5b11d974fc05839e6eaf)
2002-11-15 18:55:30 +00:00
Gerald Carter
53c1b22adc fix segfault
(This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)
2002-11-15 17:56:46 +00:00
Gerald Carter
74cdd691a9 enable enumeration of domain local groups using LDAP (and in a native mode domain)
(This used to be commit 3ac98b59632fd771b8819f88a479ef4c0daade68)
2002-11-15 17:56:21 +00:00
Jelmer Vernooij
794ecd30f9 Update to use smb_register_passdb()
(This used to be commit b10541b71ba288783976e8c124b6667b7df3b12d)
2002-11-15 17:49:47 +00:00
Jelmer Vernooij
52412699c1 Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'
(This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)
2002-11-15 17:03:58 +00:00
Jelmer Vernooij
9da3d41f3c Use smb_register_passdb() - plus some small fixes
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)
2002-11-15 17:01:24 +00:00
Jelmer Vernooij
e1fa4b1d48 Add smb_register_passdb()
(This used to be commit b5b3b2e6bef431c9c30dc8f2899dc22328801c0e)
2002-11-15 16:48:00 +00:00
Andrew Bartlett
1892b55a47 Add the rename torture test.
(This used to be commit 644b5e30c825d26ee34be79847c9469acd9fb640)
2002-11-15 14:24:27 +00:00
Andrew Bartlett
62dc784a8e Rerun autoconf
(This used to be commit 32684e133fa5d33d2478c0270af09a6fa9f0e57a)
2002-11-15 14:00:09 +00:00
Andrew Bartlett
8a2a3d0e6b When testing for /usr/include/heimdal, don't include /usr/heimdal/include
instead :-)
(This used to be commit 9d8aa4bd51736709a9295791f54c9481b876699f)
2002-11-15 13:59:33 +00:00
Andrew Bartlett
d983ee8800 Add const to DEBUG() macro.
(This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1)
2002-11-15 13:57:25 +00:00
Andrew Bartlett
3b06627f00 Updates to the build farm tests:
- Get valid/invalid users working
- Test preexec, preexec close

Andrew Bartlett
(This used to be commit 36441899e61a711b8fe03ec7b6f95973b1e69fc5)
2002-11-15 13:53:02 +00:00
Tim Potter
6c0dafc0c0 A cool idea from mbp: create a big shared library of all Samba objects
which we can use to link against Samba unit test programs.  Now we can
compile and link unit tests without having to create 4MB executables
for each program

It's called libbigballofmud.so both to discourage casual usage and
also to reflect what the dependencies within Samba have become.
(This used to be commit a59f731256f3a1c09f32452de9483b44088c942b)
2002-11-15 00:33:55 +00:00
Tim Potter
e0d81b7728 A cool idea from mbp: create a big shared library of all Samba objects
which we can use to link against Samba unit test programs.  Now we can
compile and link unit tests without having to create 4MB executables
for each program

It's called libbigballofmud.so both to discourage casual usage and
also to reflect what the dependencies within Samba have become.
(This used to be commit fdce4be719d7a81f25a4bae05934a5590038ec47)
2002-11-15 00:20:55 +00:00
Jelmer Vernooij
ae23dfd427 Some small updates - 'ads server' is no longer required for example
(This used to be commit b8f9930f62db8b997a0d6126e79212a113f8b29c)
2002-11-14 22:54:23 +00:00
Jelmer Vernooij
2b799b56f4 Remove some obsolete info
(This used to be commit ffd2d3a0ba56f967112aaa63efd4221fad2cee70)
2002-11-14 21:36:46 +00:00
Jelmer Vernooij
77f45f5e53 Add more info about stackable VFS objects
(This used to be commit 2dcb295d8eceea7e92e7e8f2e2ffc3583db833fd)
2002-11-14 21:18:22 +00:00
Jelmer Vernooij
b75212077d Update testparm for 3.0
(This used to be commit f01fad02d75975f25235eeeba8262bf11657e54a)
2002-11-14 21:04:12 +00:00
Jelmer Vernooij
a7e4392687 Remove the #ifdef's for NISPLUS_SAM - there are no function name collisions anymore
(This used to be commit f6ef18df11cc48f25adeee464e79e63ee209b08c)
2002-11-14 18:16:17 +00:00
Jelmer Vernooij
8d2514fc6a a cups printing backend is now available as well
(This used to be commit 4cffb29d27253e0e2ca270640d86b21315cab91f)
2002-11-14 17:42:01 +00:00