[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
problems with samba and tdbsam backend
- From: Rainer Traut <tr ml gmx de>
- To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List" <nahant-list redhat com>
- Subject: problems with samba and tdbsam backend
- Date: Tue, 08 Mar 2005 14:14:41 +0100
Hi,
I'm trying to setup samba as a PDC in our small network (15 Users).
So LDAP as backend is overkill, using tdbsam instead.
While playing a little with samba I experienced problems which are not
in el3. Maybe I'm doing something wrong, maybe someone can give me a
helping hand...
- the useradd program does not allow $ in usernames anymore, so the PDC
smb.conf from the el4 Admin Guide is broken, the machine add script
fails obviously
What is the workaround for this?
- samba also fails to add the machine account to the tdb sam
I can do this by hand and add then add my machine in domain without
problem but samba *never* writes to my tdb backend.
Here is the important part of smb.conf, in EL3 everything works fine.
It's a little funny that the smb.conf from EL4 admin guide is broken...
Thanks
Rainer
[global]
workgroup = DOMAINNAME
server string = Our Fileserver
netbios name = jupiter1
wins support = yes
dns proxy = yes
os level = 33
domain master = yes
time server = yes
security = user
domain logons = yes
# Backend
# passdb backend = tdbsam:/etc/samba/passdb.tdb
passdb backend = tdbsam
log file = /var/log/samba/%m.log
log level = 3 passdb:5 auth:10
max log size = 50
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add machine script = /usr/sbin/useradd -g machines -c 'Automatically \
added machine' -d /dev/null -s /bin/false %m
#add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -g \
machines %u
admin users = root
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]