Age | Commit message (Collapse) | Author | Files | Lines |
|
Add module support for configuration loading
Add a first implementation of config_ldap module to put samba configuration
on ldap
It worked on my test machine, please try it out and send bugfixes :-)
have fun,
Simo.
INSTRUCTIONS:
Just add something like this to your smb.conf file:
config backend = config_ldap:ldap://localhost
config_ldap:basedn = dc=samba,dc=org
the config tree must follow this scheme:
ou=foo, dc=samba, dc=org <- global section
|- sambaOptionName=log level, ou=foo, ... <- options
|- ...
|- sambaShareName=testlc, ou=foo, ... == [testlc]
|- sambaOptionName=path, sambaShareName=testlc, ou=foo, ... <- option
here is a sample ldif:
# foo, samba, org
dn: ou=foo, dc=samba, dc=org
objectClass: organizationalUnit
objectClass: sambaConfig
ou: foo
description: Test Foo
# log level, foo, samba, org
dn: sambaOptionName=log level, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: log level
sambaIntegerOption: 10
description: log level 10 is suitable for good debugging
# testlc, foo, samba, org
dn: sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaShare
sambaShareName: testlc
description: share to test ldap config module actually works
# path, testlc, foo, samba, org
dn: sambaOptionName=path, sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: path
sambaStringOption: /tmp
description: Path for share testlc
# read only, testlc, foo, samba, org
dn: sambaOptionName=read only, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: read only
sambaBoolOption: TRUE
description: Share testlc is read only
# guest ok, testlc, foo, samba, org
dn: sambaOptionName=guest ok, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: guest ok
sambaBoolOption: TRUE
description: Guest users are allowed to connect to testlc share
(This used to be commit 207968eafc2c2a185e50e2132702d7bab2142aba)
|
|
Volker
(This used to be commit 11da19dd5c2a6434b73a03eadedb5b877776b1f7)
|
|
Revision 1.468.2.193:
Add ldaplibs to pdbedit link line. Fixes bug #651.
(This used to be commit 079e00d1030130943791acd54b2af6036891c534)
|
|
(This used to be commit c96d470af8dd9b5782d7c4f3e9fe5fa92f416f77)
|
|
- Revision 1.468.2.187
CP* modules are not related to development
- Revision 1.468.2.191
Compile fix for tdbbackup when Samba needs to override non-C99
compliant implementations of snprintf
Sync up formatting for PAM_WINBIND_PICOBJ variable.
(This used to be commit b4f3c8d2f62e6d75a5c01529190e71289dea8df5)
|
|
#534
(This used to be commit 99f4fa54497ba1c0fc0ba39d51b3ce201a8e6cd2)
|
|
of the problems with this.
From: Derrell.Lipman@unwireduniverse.com
(This used to be commit 8e3d2708c5e5a9968aeb9a6fe6c828aa8a5b22a9)
|
|
mapping, but this is the base for changes to come.
(This used to be commit 73882e970a3aea1c3c9f34779b4220bbf28f6dad)
|
|
(This used to be commit 9b13dae5a9cec827f854d5d0eb77eb16709b39b9)
|
|
(This used to be commit c8ec714119a620af3481e40a94c361704ecbc39b)
|
|
(This used to be commit 747501893c1d9b591c81a0e819f28d0102d596a5)
|
|
(This used to be commit 5537ccf95ae8c8d737cbcf9e5575b80b6b7bac6f)
|
|
this target will build parse file with genstruct
it is the duty of the developer to commit updated files
this is made to make build platforms independent of a working perl
installation as always been with samba
so currently you need to run:
make genparse
and commit:
cvs ci include/tdbsam2_parse_info.h
if you change anything in genparse/genstruct code or tdbsam2 code.
Simo.
(This used to be commit 7e2d5da2dcfad32b733c28535490e98e578bcc3a)
|
|
the trouble of detecting what the PIC suffix should actually be.
Change PICFLAG in configure.in to PICFLAGS for consistency.
Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
(This used to be commit 0abe1964f7de184d836b167dbc581454e6ec9df8)
|
|
laternative to the current passdb).
Currently it is run through a comatibility module in the passdb layer, with
a subset of the functionality it may provide.
It is still work in progress, but as someone asked me about it, and as it
should make no difference to the normal code, I tought it was a good idea to
put it into.
It adds a dependency on perl. I know it is not very nice, but I'm sure we
will work out a solution for that.
As always blame me if I break something, but try to fix yourself, as I am
busy-busy-busy :-)
Simo.
(This used to be commit 7b3c94b5cfc1a9ceb430613353a937345f2eda74)
|
|
>Explicitly initialise the value of AR for vendor makes that don't do
>this (HPUX 11). Currently it's initialised to 'ar' but this may have
>to be changed if any systems pop up that have archivers that aren't
>named 'ar'. Closes bug #552.
>fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
(This used to be commit fd18356fe2c59877860383219b6e71f182aec1fe)
|
|
(This used to be commit 759990833ef192ffddec58039db1a41a0fafa399)
|
|
(no need to include all of smbd files to use some basic sec functions)
also minor compile fixes
(This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)
|
|
* set version string to "CVS 3.1.0alpha1"
(This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
|
|
(This used to be commit 2ac5ac495025f6c673216c1922ff51b913a0aeac)
|
|
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
|
|
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
|
|
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
(This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
|
|
define it in SHLD for those systems that use CC for SHLD
(This used to be commit 142c54ca924bd854e7d840c2a67692c9f61ee396)
|
|
programmer can't work around, but hopefully enough that people will
notice that they should be using the 3.0 branch at the moment
(This used to be commit d6de8e8a94c8fb7d7837ed2b43092a275cc9d6c5)
|
|
build/install
(This used to be commit f59a99d8efce960b058e837f261b0482d5a0101e)
|
|
(This used to be commit 946192393d530f116f9ff4cede311700b26c3171)
|
|
(This used to be commit 7149dc65c7e22d53110c5e8bbab8ba96963ade76)
|
|
directly - fixed problem where the last line of the link command was
'\ @LDAP_LIBS@'. If @LDAP_LIBS@ is zero then the backslash
incorrectly includes the next line of the Makefile in the current
target.
This should fix a bucketload of build farm failures.
(This used to be commit 895bef1a62f60f4e91dc6b1c244820b024c36a5c)
|
|
Also merged a little bit of abartlet's recent configure.in change of
duplicated IRIX stuff.
(This used to be commit d15406ad910bc952c741e8d4d574064dbc5e88ef)
|
|
add winbindd_passdb backend
this makes it possible to have nua accounts on security = user servers to
show up in unic through nss_winbind.so
the problem is that we do not have group support, so nss group support is
not very good at this time (read: totally absent)
we NEED group support in passdb
(This used to be commit 921215cf4bfbd4d7457f81e181bb1a74a4531ca1)
|
|
(This used to be commit 28b73a39219fd717c60eba207143fb40d5ff123a)
|
|
source file. I will be making changes to sock_exec to work on VOS, which
has a blocking connect() call, but first I want to get it in its own source
file so that it can be called from a test program.
(This used to be commit 2dd18ca0cfd4d793067b9b712554565965db0af1)
|
|
(This used to be commit b05fa6b90a7f5b74824d32b687c17ef6e76f59c1)
|
|
from 2.2. if they still need them
(This used to be commit 000fe6b2f0e87571d2a6f2f19d4f90076eaeee3e)
|
|
(This used to be commit f7041ec5d74475013c839b5ea9ecac10322e5e65)
|
|
(This used to be commit c4ba4db3414a2178a5314291c767d02e3f88525c)
|
|
that uses samba's internal iconv() functions. Useful for
testing purposes.
(This used to be commit 674b67198311b4e0fb2d8afd8b56b499286fc370)
|
|
change idmap_init call
removed ldap backend for winbind idmap, seem it had problems anyway and it
have to be reworked to work with idmap without calling winbind code.
simo
(This used to be commit 9d7d007443fc75264b2764b90f272ffc40c9be6c)
|
|
./configure --enable-developer
(This used to be commit 1c0ae103010766cb3dd5adb36ea7af9324bd0672)
|
|
in 3_0
(This used to be commit 9b969f877f8057930fb53da99ee8a0574b4f5531)
|
|
Merging smbgroupedit into 'net groupmap'. Not entirely done.
Need to check on where the privilege code is sitting
and update the docs.
Examples:
root# bin/net help groupmap
net groupmap add
Create a new group mapping
net groupmap modify
Update a group mapping
net groupmap delete
Remove a group mapping
net groupmap list
List current group map
# bin/net groupmap add
Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>]
# bin/net groupmap delete
Usage: net groupmap delete name=<string|SID>
# bin/net groupmap modify
Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local>]
(This used to be commit 0fd28bc3a803ca1ec3dcd8cc6236d4ecc3134584)
|
|
(This used to be commit 89048748ae8ef863c154c4f4c3254bcc1c9b77a0)
|
|
(This used to be commit 44779546964bce605510af39feaee3ea436a7cfb)
|
|
setting them)
(This used to be commit 8df9ab2fcfc9f22fa6842e1128952e855fea6a7a)
|
|
(This used to be commit 53dcaf2271ad1b845ace9730d6c68db80bf9704e)
|
|
library to build the test cases. Previously the link had to be
created by hand.
Doing this manually is incredibly kludgy and not very portable, but I
don't know a better way without introducing l*bt**l.
(This used to be commit 8fbe456ee34af163dddb1e6e4816ff7be4ca48f1)
|
|
(This used to be commit 95ff914d8263028711f36ccc2f6cd1127aaa7809)
|
|
(This used to be commit 7805641d6eafd00c8979e068b5820f6671f4de37)
|
|
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
|