search for: addworkst

Displaying 7 results from an estimated 7 matches for "addworkst".

2017 Nov 15
3
?==?utf-8?q? add machine script not running
...or your response Le Mercredi, Novembre 15, 2017 17:38 CET, Rowland Penny via samba <samba at lists.samba.org> a écrit: > I suppose the obvious question is, is the script executable ? It is. It's a simple perl script with +x. I can exec it from the comande line like /usr/local/bin/addworkstation.pl foo$ which creates the machin account like it should. I've also tested caling it with the interpreter add machine script = /usr/bin/perl /usr/local/bin/addworkstation.pl %u with no difference > Can you post your smb.conf, See the file attached > there have been some changes...
2017 Nov 15
2
add machine script not running
...(but not with the correct objectClass, I want to have full control on this part, and just let samba add the sambaSamAccount objectClass and related stuff) In my logs, even with quite high debug level, I can see the param is correctly read: [...] doing parameter add machine script = /usr/local/bin/addworkstation.pl %u [...] But the script is not executed. Instead, when samba sees the account doesn't already exist in LDAP, it tries to create it, which is failing (because my ACL in OpenLDAP does not allow it) See my logs attached Why doesn't samba execute my add machine script at this point,...
2017 Nov 15
0
add machine script not running
...15, 2017 17:38 CET, Rowland Penny via samba > <samba at lists.samba.org> a écrit: > > > I suppose the obvious question is, is the script executable ? > > It is. It's a simple perl script with +x. I can exec it from the > comande line like > > /usr/local/bin/addworkstation.pl foo$ > > which creates the machin account like it should. I've also tested > caling it with the interpreter > > add machine script = /usr/bin/perl /usr/local/bin/addworkstation.pl %u > > with no difference > > > Can you post your smb.conf, > > Se...
2017 Nov 15
2
add machine script not running
...amba > > <samba at lists.samba.org> a écrit: > > > > > I suppose the obvious question is, is the script executable ? > > > > It is. It's a simple perl script with +x. I can exec it from the > > comande line like > > > > /usr/local/bin/addworkstation.pl foo$ > > > > which creates the machin account like it should. I've also tested > > caling it with the interpreter > > > > add machine script = /usr/bin/perl /usr/local/bin/addworkstation.pl %u > > > > with no difference > > > > &...
2017 Nov 15
0
add machine script not running
...> want to have full control on this part, and just let samba add the > sambaSamAccount objectClass and related stuff) > > In my logs, even with quite high debug level, I can see the param is > correctly read: > > [...] > doing parameter add machine script = /usr/local/bin/addworkstation.pl > %u [...] I suppose the obvious question is, is the script executable ? > > But the script is not executed. Instead, when samba sees the account > doesn't already exist in LDAP, it tries to create it, which is > failing (because my ACL in OpenLDAP does not allow it) &...
2017 Nov 16
0
add machine script not running
Le 15/11/2017 à 19:23, Andrew Bartlett via samba a écrit : >> You have 'add machine script = /usr/local/bin/addworkstation.pl "%u"' >> Try removing the double quotes. >> >> There isn't doesn't see to be anything else really wrong with your >> smb.conf. >> > G'Day Rowland, > > While it is possible our parsing of the smb.conf has changed, I think >...
2007 Apr 24
2
BLOATED LDAP Traffic from Samba
...max log size = 0 smb ports = 139 name resolve order = wins bcast hosts time server = Yes addprinter command = /etc/samba/scripts/smbaddprinter.pl deleteprinter command = /etc/samba/scripts/smbdelprinter.pl add machine script = /etc/samba/scripts/addworkstation.pl %u logon script = login.bat logon path = domain logons = Yes domain master = Yes wins server = 155.247.225.230, 155.247.225.231 ldap admin dn = cn=sambaLabs2,ou=roles,dc=temple,dc=edu ldap group suffix = ou=Groups ldap machine...