summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:dsdb Revert back to using DN:filename in the partitions recordAndrew Bartlett2009-11-022-46/+102
| | | | | | | | | | | | This allows us to change the escaping function without breaking existing installs. The new escaping function (used for new databases) is RFC1738 URI encoding, except for the trivial cases without special characters. The new databases are also placed in a subdirectory, sam.ldb.d per an earlier suggestion by metze. Andrew Bartlett
* lib/util Use rfc1738.c from Squid for all our URL encode/decode needs.Andrew Bartlett2009-11-025-70/+72
| | | | Andrew Bartlett
* lib/util Add rfc1738 escape/unescape code from SquidAndrew Bartlett2009-11-021-0/+209
| | | | | | | | This is intended to replace our rfc1738_unescape(), and give us an rfc1738_escape implementation (and hopefully is better tested and more secure). Andrew Bartlett
* s4:credentials Put the 'secrets.keytab' in the same directory as secrets.ldbAndrew Bartlett2009-11-021-1/+3
| | | | | | | This avoids trouble when the secrets.ldb is updated with ldbedit but an smb.conf is not specified. Andrew Bartlett
* s4: Create a script for updating a running provision with change introduced ↵Matthieu Patou2009-11-021-0/+694
| | | | since the initial provision
* s4:torture/raw/samba3misc - Add "discard_const_p" macro before a stringMatthias Dieter Wallnöfer2009-11-021-1/+1
|
* s4:ldb Remove debug traces duplicated by the new generic trace codeAndrew Bartlett2009-11-021-3/+0
|
* s3:ldap: don't search when no values where foundBjörn Jacke2009-11-021-1/+1
|
* uuid.c: Remove some dead codeVolker Lendecke2009-11-011-1/+0
|
* s3: Fix the RPC server SUBSYSTEM declarationVolker Lendecke2009-10-311-1/+1
| | | | | | | | | | If I read SMB_SUBSYSTEM right then the 2nd argument needs to be the file where the static_init_rpc (in this case) is defined. This seems to have moved from server.c to process.c. Jelmer, please check! Volker
* s3:Makefile: add LIBREPLACE_LIBS for talloc, tdb and wbclientBjörn Jacke2009-10-311-3/+3
|
* ѕ3:buildsystem: fix depenencies for libreplaceBjörn Jacke2009-10-312-8/+7
| | | | | | | | | This problem became visible after adding the picky -z defs linker option: On Solaris libreplace had unresolved symbols, which showed up in the libtalloc build. PAM_WINBIND_EXTRA_LIBS and WINBIND_NSS_EXTRA_LIBS had been workarounds to make things work at two placeѕ. These variables have been obsoleted now. This patch introduces LIBREPLACE_LIBS which contans the linker flags needed for linking anything using libreplace.
* ѕ3:ldap: search for account policies in objectclass sambaDomain, not *Björn Jacke2009-10-311-1/+6
|
* s3/docs: Fix typo.Karolin Seeger2009-10-301-1/+1
| | | | | | Fix bug #4250. Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting! Karolin
* s3/docs: Remove reference to nonexistent file.Karolin Seeger2009-10-301-3/+1
| | | | | | Fix bug #4252. Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting! Karolin
* s4:nbt_server/wins/winsdb - Fix "const" warningMatthias Dieter Wallnöfer2009-10-301-5/+1
|
* s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.Günther Deschner2009-10-301-0/+6
| | | | Guenther
* s3-rpcclient: add deletetrustdom command.Günther Deschner2009-10-301-0/+89
| | | | Guenther
* s3-rpcclient: add createtrustdom command.Günther Deschner2009-10-301-0/+45
| | | | Guenther
* s3-lsa: expand struct lsa_info to carry name and sd.Günther Deschner2009-10-301-0/+2
| | | | Guenther
* s3-lsa: use switch in _lsa_QuerySecurity().Günther Deschner2009-10-301-3/+7
| | | | Guenther
* s4-smbtorture: fix warning in RPC-WKSSVC torture test.Günther Deschner2009-10-301-3/+5
| | | | Guenther
* s4:kdc/hdb-samba4 - Remove unused variableMatthias Dieter Wallnöfer2009-10-301-1/+0
|
* Change RAW-STREAMS for s3 to allow rename over an existing stream,Jeremy Allison2009-10-291-1/+2
| | | | | | we need to file a CAR to find out why Windows gives INVALID_PARAMETER for this. Jeremy.
* Start fixing the RAW-STREAMS test - ensure that the xattrJeremy Allison2009-10-293-2/+3
| | | | | | used to store the stream info in streams_depot.so is not seen in when enumerating EAs. Jeremy.
* s3: Fix incorrect rc check of nscd_flush_cache.Jim McDonough2009-10-291-1/+1
| | | | At least this only resulted in an incorrect debug message.
* s3-secrets: use autogenerated code for TRUSTED_DOM_PASS struct parsing from ↵Günther Deschner2009-10-293-233/+38
| | | | | | a tdb. Guenther
* s3: add secrets.idl.Günther Deschner2009-10-295-1/+140
| | | | Guenther
* tdb: update README a bitKirill Smelkov2009-10-291-8/+1
| | | | | | | | | | | | | | While studying tdb, I've noticed a couple of mismatches between readme and actual code: - tdb_open_ex changed it's log_fn argument to log_ctx - there is now no tdb_update(), which it seems was transformed into non-exported tdb_update_hash() There were other mismatches, but I don't remember them now, sorry. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: add tests for double .close() in pytdbKirill Smelkov2009-10-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | The reason I do it is that when using older python-tdb as shipped in Debian Lenny, python interpreter crashes on this test: (gdb) bt #0 0xb7f8c424 in __kernel_vsyscall () #1 0xb7df5640 in raise () from /lib/i686/cmov/libc.so.6 #2 0xb7df7018 in abort () from /lib/i686/cmov/libc.so.6 #3 0xb7e3234d in __libc_message () from /lib/i686/cmov/libc.so.6 #4 0xb7e38624 in malloc_printerr () from /lib/i686/cmov/libc.so.6 #5 0xb7e3a826 in free () from /lib/i686/cmov/libc.so.6 #6 0xb7b39c84 in tdb_close () from /usr/lib/libtdb.so.1 #7 0xb7b43e14 in ?? () from /var/lib/python-support/python2.5/_tdb.so #8 0x0a038d08 in ?? () #9 0x00000000 in ?? () master's pytdb does not (we have a check for self->closed in obj_close()), but still... Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: reset tdb->fd to -1 in tdb_close()Kirill Smelkov2009-10-291-1/+3
| | | | | | | | So that erroneous double tdb_close() calls do not try to close() same fd again. This is like SAFE_FREE() but for fd. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: fix typo in python's Tdb.get() docstringKirill Smelkov2009-10-291-1/+1
| | | | | | | It's Tdb.get(), not Tdb.fetch(). Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: kill last bits from swigKirill Smelkov2009-10-292-6/+1
| | | | | | | | We no longer use swig for pytdb, so there is no need for swig make rules. Also pytdb.c header should be updated. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Fix map readonly in smb.conf, it is a single wordSimo Sorce2009-10-281-1/+1
|
* Add in Metze's new code to ndr encode the user.DOSATTRIBStefan (metze) Metzmacher2009-10-288-9/+525
| | | | | blobs. Next I'll change the create timestamp and dos attribute code to use this.
* Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu2009-10-283-46/+120
|
* s3:net: fix output of net rpc trustdom listBjörn Jacke2009-10-281-3/+5
| | | | | Move some messages from stderr to stdout. When some trusting DCs were unreachable we lacked \n's on stdout which screwed up whole the output.
* s3:configure: only check for gpfs_gpl.hStefan Metzmacher2009-10-281-25/+5
| | | | | | | | The header is everything we need in order to build vfs_gpfs. metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3-passdb: move open_schannel_session_store() to passdb/secrets_schannel.c.Günther Deschner2009-10-283-64/+64
| | | | Guenther
* s3-net: acct_flags are uint32_t in net_sam_set_userflag().Günther Deschner2009-10-281-1/+1
| | | | Guenther
* adssearch: dump some more nttime timestamps.Günther Deschner2009-10-281-0/+2
| | | | Guenther
* s3-lsa: add lsa_trusted_domain_mapping.Günther Deschner2009-10-281-0/+7
| | | | Guenther
* lsa: add LSA_TRUSTED_DOMAIN access masks.Günther Deschner2009-10-282-0/+33
| | | | Guenther
* s3-passdb: add secrets_delete_generic().Günther Deschner2009-10-282-0/+17
| | | | Guenther
* s3-lsa: add lsa_secret_mapping.Günther Deschner2009-10-281-0/+7
| | | | Guenther
* lsa: add LSA_SECRET access masks.Günther Deschner2009-10-282-0/+23
| | | | Guenther
* s3-lsa: use correct function name in_lsa_RemoveAccountRights().Günther Deschner2009-10-281-1/+1
| | | | Guenther
* s3-lsa: pure cosmetic indentation fixes.Günther Deschner2009-10-281-18/+16
| | | | Guenther
* s3-lsa: use enum lsa_LookupNamesLevel in lsa_lookup_level_to_flags().Günther Deschner2009-10-281-7/+8
| | | | Guenther
* ldb:tdb backend - be also here more careful with the result valueMatthias Dieter Wallnöfer2009-10-271-2/+2
| | | | "msg_delete_attribute" doesn't return an LDB result constant.