Howdy,

I would like to use the samba server as a replacment for NT Servers.
So I need the add user script command for adding new machines to the domain.
This is no problem in all 2.2.X versions of samba which I used.
But on version 3.0 alpha and beta it is not working.

I am using debian 3.0r1 with the unstable package of samba 3.0beta.

smb.conf:
[global]
workgroup = unreal
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
syslog = 0
security = user
encrypt passwords = true
passdb backend = smbpasswd:/etc/samba/smbpasswd
socket options = TCP_NODELAY
wins server = 192.168.0.133
dns proxy = no
admin users = root, admin, administrator
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s bin/false -M %u
domain logons = yes
domain master = yes
logon path = \\%N\profiles\%U
logon drive = H:
logon home = \\%N\%U
logon script = logon.bat


samba.log:
[2003/06/20 00:33:38, 0] smbd/service.c:set_admin_user(314)
root logged in as admin user (root privileges)
[2003/06/20 00:33:39, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(597)
add_smbfilepwd_entry: cannot add account roof2$ without unix identity
[2003/06/20 00:33:39, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(2313)
could not add user/computer roof2$ to passdb. Check permissions?



The same command line is working with 2.2.3a (Debian testing).


thanks for any answer
Thomas

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to