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
On Fri, 2003-06-20 at 19:38, Thomas Angst wrote:> 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.We tried to make life easier, and we now have 'add machine script'. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030620/2fd32471/attachment.bin
HI if tested the add user script (samba3beta) and it works fine for me but the created machine account , it not followed with a working login, win2k serv pack 3 says computer account is not trusted in the domain, this is is not a failure by the script , cause i tried traditional way too. ( smbpasswd -a -m ) any ideas? Regards> 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 >-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!