I have a series of hosts (Solaris 8,9 & 10) that are successfully providing samba shares. They are all using Samba 3.0.2a, and authentication is via a Windows 2000 password server.
Everything breaks when the password server is patched beyond the first Windows Service pack.
Here are the contents of smb.conf
Code:
# Global parameters
[global]
workgroup = WINTEL
security = DOMAIN
password server = windowspdc.domain.com
log level = 3
syslog = 4
log file = /var/log/samba.%m
name resolve order = host bcast
hostname lookups = Yes
ldap ssl = start tls
# use uids from 10000 to 20000 for domain users
idmap uid = 10000-20000
# use gids from 10000 to 20000 for domain groups
idmap gid = 10000-20000
# Get specific share information from external files:
include = /usr/local/etc/smb.conf.%h
We need to be able to continue to provide samba shares (for oracle logs, etc.), even after the domain controllers are patched. We can't be the only shop that is having this type of issue...
Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter...
thanks (0 Replies)
Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated.
Thanks,
Chris Lewis (4 Replies)
Hi,
I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba".
From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users.
That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
All,
I have a Red Hat EL5 server running Samba 3.0.23c integrated with AD. When I try to access from windows by server name it asks for a username and password, but when I access it via IP I can see it.
Has anyone seen this before? I need to have it setup where people do... (3 Replies)
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
LEARN ABOUT LINUX
idmap_ldap
IDMAP_LDAP(8) System Administration tools IDMAP_LDAP(8)NAME
idmap_ldap - Samba's idmap_ldap Backend for Winbind
DESCRIPTION
The idmap_ldap plugin provides a means for Winbind to store and retrieve SID/uid/gid mapping tables in an LDAP directory service.
In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs
in order to create new mappings. The allocator can be provided by the idmap_ldap backend itself or by any other allocating backend like
idmap_tdb or idmap_tdb2. This is configured with the parameter idmap alloc backend.
Note that in order for this (or any other allocating) backend to function at all, the default backend needs to be writeable. The ranges
used for uid and gid allocation are the default ranges configured by "idmap uid" and "idmap gid".
Furthermore, since there is only one global allocating backend responsible for all domains using writeable idmap backends, any explicitly
configured domain with idmap backend ldap should have the same range as the default range, since it needs to use the global uid / gid
allocator. See the example below.
IDMAP OPTIONS
ldap_base_dn = DN
Defines the directory base suffix to use when searching for SID/uid/gid mapping entries. If not defined, idmap_ldap will default to
using the "ldap idmap suffix" option from smb.conf.
ldap_user_dn = DN
Defines the user DN to be used for authentication. If absent an anonymous bind will be performed.
ldap_url = ldap://server/
Specifies the LDAP server to use when searching for existing SID/uid/gid map entries. If not defined, idmap_ldap will assume that
ldap://localhost/ should be used.
range = low - high
Defines the available matching uid and gid range for which the backend is authoritative. If the parameter is absent, Winbind fails over
to use the "idmap uid" and "idmap gid" options from smb.conf.
IDMAP ALLOC OPTIONS
ldap_base_dn = DN
Defines the directory base suffix under which new SID/uid/gid mapping entries should be stored. If not defined, idmap_ldap will default
to using the "ldap idmap suffix" option from smb.conf.
ldap_user_dn = DN
Defines the user DN to be used for authentication. If absent an anonymous bind will be performed.
ldap_url = ldap://server/
Specifies the LDAP server to which modify/add/delete requests should be sent. If not defined, idmap_ldap will assume that
ldap://localhost/ should be used.
EXAMPLES
The follow sets of a LDAP configuration which uses two LDAP directories, one for storing the ID mappings and one for retrieving new IDs.
[global]
idmap backend = ldap:ldap://localhost/
idmap uid = 1000000-1999999
idmap gid = 1000000-1999999
idmap alloc backend = ldap
idmap alloc config : ldap_url = ldap://id-master/
idmap alloc config : ldap_base_dn = ou=idmap,dc=example,dc=com
NOTE
In order to use authentication against ldap servers you may need to provide a DN and a password. To avoid exposing the password in plain
text in the configuration file we store it into a security store. The "net idmap " command is used to store a secret for the DN specified
in a specific idmap domain.
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
Samba 3.5 06/18/2010 IDMAP_LDAP(8)