Volker Lendecke
5dbf435408
This moves the group mapping API into the passdb backend.
...
Currently this calls back to mapping.c, but we have the framework
to get the information into LDAP and the passdb.tdb (should we? I
think so..).
This has received moderate testing with net rpc vampire and
usrmgr. I found the add_groupmem segfault in add_aliasmem as
well, but that will be another checkin.
Volker
(This used to be commit f30095852fea19421ac8e25dfe9c5cd4b2206f84)
2002-10-21 19:28:56 +00:00
Volker Lendecke
0f8e108686
I was somewhat annoyed by 'pdbedit -a vl' spitting an error message
...
at me :-)
Volker
(This used to be commit c4452ef22cf63c73bfb3574a55a4810af511ff20)
2002-10-21 19:25:04 +00:00
Jelmer Vernooij
c6e4a84cfa
Fix usage message
...
(This used to be commit 2e328928aa9bfafbfa00596f261dbc68bcd51e6b)
2002-10-21 19:22:46 +00:00
Jelmer Vernooij
0013983d48
Remove obsolete acconfig.h - we now use comments in AC_DEFINE()
...
(This used to be commit dc4fcb71edc22f36cd1f6d78a211d09c418f3309)
2002-10-21 19:21:41 +00:00
Jelmer Vernooij
6c82e994d9
Add faq chapter about the samba features
...
(This used to be commit b55fe96c1f073e81ce564d16d70cae49e1862cf5)
2002-10-21 18:01:02 +00:00
Jelmer Vernooij
d24b7bb102
Don't say we need WINS Replication documentation
...
(This used to be commit 2bbc4187e76339191aadf8c9503daf7c02ebafbc)
2002-10-21 17:59:51 +00:00
Jelmer Vernooij
307d89b60b
Recognize FreeBSD5 correctly (not as being sysv...)
...
(This used to be commit 66ef6b942e00dc0d7742226f24861445d3bc0eb3)
2002-10-21 16:28:27 +00:00
Gerald Carter
4a5a88f8c9
sync with SAMBA_3_0
...
(This used to be commit 07ac86323f71d6228a222a1680d1c7def0eb7109)
2002-10-21 15:49:26 +00:00
Jelmer Vernooij
a3c4b4cef6
Sync with metze's CVS tree
...
(This used to be commit 2a598d435d3eb46ca28b3591a4f7f9d856ce3c1f)
2002-10-21 15:36:51 +00:00
Jelmer Vernooij
e9fd0a2671
Small patch from metze to add 3 parameters to vfs_init, as it requires
...
(This used to be commit 4206ebb160e947c70f15e5c434dd1d4df287e665)
2002-10-21 13:41:34 +00:00
Jelmer Vernooij
ed161698d4
Add text doc about what work is left on the docs for 3.0
...
(This used to be commit 328c5a92a1dfe7e5bc62a1846bf4e9c7cdb2110c)
2002-10-21 13:31:32 +00:00
Martin Pool
23e6084358
Test both new samba.tdbpack and oldtdbutil pack/unpack routines.
...
This makes the test suite fail because at the moment they are in fact
not behaving the same way.
(This used to be commit 44dd7746ede7f7f9efcf7dabcd351b1d800e535c)
2002-10-21 11:44:26 +00:00
Martin Pool
d70d4ef34b
Import old pure Python version of tdbpack/unpack, so that we can do
...
compatibility testing against the shiny new C version.
This version is slightly modified to not call codepage conversion
routines, and renamed tdbutil->oldtdbutil.
(This used to be commit 2dc4373727f73a46cd6135413e50917fb7fa538b)
2002-10-21 11:13:53 +00:00
Tim Potter
e0d317dd16
The libsmb module uses py_ntsec.o
...
(This used to be commit e27d3d20e3c51fc04f37d92c24f38f91b2d1e1e4)
2002-10-21 09:54:41 +00:00
Tim Potter
91895706b7
Fixed up tconx function. Implemented nt_create_andx, query_secdesc
...
and set_secdesc functions.
(This used to be commit 3fd568ef5c984f089e7799d9ff55395330716641)
2002-10-21 09:53:31 +00:00
Tim Potter
4eb2eab364
Whoops - this should be in py_smb.c
...
(This used to be commit b740c7e5050b18bc06865451bed3daf3ae09c609)
2002-10-21 08:23:20 +00:00
Martin Pool
3b8d11fe50
Give better error messages for TypeError, which will arise if e.g. you
...
try to pack an Int using a string tdbpack format.
(This used to be commit 6139ab3cbca3fc2969d1e578b38394b1f6aeb9c3)
2002-10-21 07:41:08 +00:00
Tim Potter
771fc528eb
More cleanups of validation functions.
...
(This used to be commit a4790ba42cc6ee4086dafbc64b1dba790a6c3583)
2002-10-21 04:47:29 +00:00
Tim Potter
d897c63fb5
Zero some more return values.
...
(This used to be commit 7f45bad319ace07a5bfc21465a0db919131dd608)
2002-10-21 04:44:44 +00:00
Andrew Tridgell
48a56c12e2
add a 'mangle prefix' option to allow people to tune the number of
...
characters used in the prefix for 8.3 names in the hash2
algorithm. The longer the prefix the more readable the 8.3 names will
be, but the weaker the hash.
this was added because of someone complaining that the new hashing
algorithm was unreadable but the old one was broken :)
(This used to be commit 3ca3cc838e5b957c7244b21947daddc4ee4c3099)
2002-10-21 04:30:51 +00:00
Tim Potter
354878f76f
level should be a uint32 in enum_ports function.
...
(This used to be commit 121db5b6821df9c6ec05adb2d35c2dde930736f2)
2002-10-21 04:17:43 +00:00
Tim Potter
69e2a9d7fa
Stricter validation in python->C conversion functions.
...
(This used to be commit 672c07e2432299e3b1015af524dc5c124f61f904)
2002-10-21 04:16:12 +00:00
Tim Potter
7f62309268
Fixed DRIVER_INFO_3 conversion function to check for dependent_files
...
key.
(This used to be commit 35413be0ac39ce52f009f7750f23b41728d8a35c)
2002-10-21 04:12:47 +00:00
Tim Potter
aed3a9f343
Fix a silly memset typo.
...
Change a int* to a uint32* in the cli_spoolss_enum_ports() function.
(This used to be commit 4663d79d3e9dcfef49f7cef1f6205efe58edbdc1)
2002-10-21 04:03:49 +00:00
Andrew Tridgell
66ad44b588
reverted an incorrect fix. What I was trying to do was fix a problem
...
with filenames with spaces in mangle_hash.c but the real problem is
that mangle_hash.c assumes that the set of valid characters for 8.3
names is the same as the set of valid characters for long names. Thats
an invalid assumption, with space being the obvious example.
(This used to be commit e0065f4db4a1cfae03a3bb86e5cfea9c45dfa1c3)
2002-10-21 03:47:51 +00:00
Andrew Tridgell
d51c1e333b
a space is a standard valid character in a filename
...
(This used to be commit 0db79d4a379a502362c230a9019d5d71f5af8e0e)
2002-10-21 03:40:18 +00:00
Tim Potter
47cf2825f8
Zero tallocated memory in decode_printer_info, decode_driver_info,
...
decode_port_info and decode_printerdriver functions.
(This used to be commit bf2d9dd5ba2ecc7e0e1bd17049adee6dd80d807c)
2002-10-21 02:48:55 +00:00
Tim Potter
a07df8249d
Bugfix for pidfile_create() from Kelledin.
...
(This used to be commit 4808a95f5f4536774d41bebca76660f010069117)
2002-10-21 00:05:01 +00:00
Tim Potter
7c6400a78f
Added stubs for query/set security descriptors on files. Not even close to
...
working yet.
(This used to be commit b7ef2e8b41bd6a7225b9f21c65c42b8ef0f82a32)
2002-10-20 20:43:26 +00:00
Volker Lendecke
605ab78401
Fix full_name for info23 as well. Thanks, Andrew.
...
Volker
(This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)
2002-10-19 08:09:28 +00:00
Volker Lendecke
0c35d78632
This fixes some bugs for NT4 usrmgr.exe
...
Volker
(This used to be commit 32d6bcf3acefc77873a7241cc0c7e26241a65301)
2002-10-19 07:50:48 +00:00
Herb Lewis
955003ebce
must add one to the extra_data size to transfer the 0 string terminator.
...
This was causing "wbinfo --sequence" to access past the end of malloced
memory.
(This used to be commit 4125c582aaf86ee5d92b0c800266543a390aefce)
2002-10-18 23:52:05 +00:00
Jelmer Vernooij
9cfa18208b
Don't encourage people to use -P - it's obsolete
...
(This used to be commit 59ecac901a231383bd4cacb326724f786e3d7244)
2002-10-18 23:27:49 +00:00
Andrew Bartlett
d00d56faea
It seems that I'm meant to be using the helper function here, not the struct
...
directly...
Andrew Bartlett
(This used to be commit 0abeb8725e8ea53a468d6004457bb7fa89a0f8b2)
2002-10-18 22:27:55 +00:00
Jelmer Vernooij
e9368b1d20
Document parameters that have been added in 3.0
...
(This used to be commit 1fb6353c39439220465fcce7950511c63e31ea44)
2002-10-18 22:16:08 +00:00
Jelmer Vernooij
19eb4688cf
Update for 3.0 (document -B, -s, -n options). Is now current
...
(This used to be commit 9f388e15b0bef1590c5605f8d7cdeac7c82cd64f)
2002-10-18 21:43:31 +00:00
Jelmer Vernooij
8e8d6da1ce
smb.conf.5 is completely up-to-date for 3.0 now. Say so in the VERSION section
...
(This used to be commit 28fb5f00c0683ed7af6ea05ac5e005215ad7a7c7)
2002-10-18 21:14:55 +00:00
Jelmer Vernooij
e5d7c4f150
Try to put some questions from the mailinglist in
...
(This used to be commit 1bf8ca3c89b5cbbc329f34971d5d2541d3b0265c)
2002-10-18 21:01:42 +00:00
Jelmer Vernooij
14a2b338ff
Add FAQ 'I have set 'force user' and samba still makes 'root' the owner of all the files I touch!'
...
(This used to be commit e8d7f8eb43e299cbe7f46c91e2040e9d74d693e2)
2002-10-18 20:36:43 +00:00
Jelmer Vernooij
010e444fd9
Document %D. Make a difference between sub_basic and sub_advanced substitutions
...
(This used to be commit 7fe52d378d7e4ce6381be3544d865088a7659009)
2002-10-18 20:31:13 +00:00
Jim McDonough
e042a93cce
Format objectGUIDs on ads dumps.
...
(This used to be commit 7eaf7e7115c75e682b1b9368c6f28c60429885e5)
2002-10-18 20:11:29 +00:00
Jeremy Allison
e13dd2f302
Start to merge the new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
...
Jeremy.
(This used to be commit f6103f866a5e698ab55fdab1444a14e3d8da16bb)
2002-10-18 19:46:28 +00:00
Jelmer Vernooij
0fc3596a95
Add note to HP-UX: use gcc or HP's ansi C compiler and not the freely supplied C compiler
...
(which isn't ansi C compatible)
(This used to be commit 853558151e0d26a98bf9278b664f98987f17813e)
2002-10-18 18:30:49 +00:00
Gerald Carter
e1096e6936
NULL enum_local_groups for ads winbindd (temporary workaround).
...
(This used to be commit 06eea39abdb49d9d547707dcb170c988d7276c1d)
2002-10-18 17:42:41 +00:00
Jim McDonough
fb3d215b39
Add extra parm to cli_full_connection call. Tim, you should probably look at this.
...
(This used to be commit a9f632ed5d3d033849c25efac419b21e830c5069)
2002-10-18 17:29:20 +00:00
Jelmer Vernooij
9cd6f05f2b
Remove note about the howto being in 'htmldocs' - this notice has
...
been in since 2.2 so people should know by now...
(This used to be commit 744615f13f591b334fe85d4285ffbaa11419755c)
2002-10-18 15:54:02 +00:00
Jim McDonough
6ed415f4f5
Fix build. Extra parm was added to cli_full_connection, but not in locktest2.c.
...
(This used to be commit 51e0f5c2dd469c59a41822dbda293e59794a7dc4)
2002-10-18 15:09:17 +00:00
Jeremy Allison
389a16d9d5
Added new error codes. Fix up connection code to retry in the same way
...
that app-head does.
Jeremy.
(This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17 17:10:29 +00:00
Volker Lendecke
8cb53d56f2
Revert changes
...
(This used to be commit 975fd17f8af0f03f43995deb3fdd9bd5995a1c92)
2002-10-17 08:12:20 +00:00
Volker Lendecke
41a427b6ba
Revert changes
...
(This used to be commit 84b62f6d96a77ccbc1b4475ab0780a4e4c9d4875)
2002-10-17 07:08:43 +00:00