Displaying 20 results from an estimated 147 matches for "sambalogonscript".
2010 Jul 03
6
sambaLogonScript problem
Hi everyone,
I'm having trouble in deploying by group sambaLogonScript.
My scripts consist only im mapping network folders.
I'm using Samba 3.4.7. Is there a way to debug this? The logs does not
show anything about the logon scripts.
All my users are set with "%G.bat" in the ldap backend, but the vast
majority of the users are not running the script...
2010 Jul 05
1
sambaLogonScript [another] problem
...G.bat
In the previous thread we also reached the conclusion that when the
desired logon script of the users matches the logon script defined in
the smb.conf, i can't have it defined in the ldap database, otherwise
the script would not load.
But it happens that when i create a new user, the sambaLogonScript entry
in the ldap database is set to %G.bat, exactly the entry i MUST NOT have
to load the script. Since i'm expanding my network and tons of new users
are coming, i trying to keep things very organized. I'll need to change
this entry for every new user or there is a smarter way to do t...
2023 Apr 04
1
logon script
...part of the smb.conf has this to say about 'logon script':
If Samba is set up as an Active Directory domain controller, LDAP
attribute scriptPath is used instead.
For configurations where passdb backend = ldapsam is in use, this option
only defines a default value in case LDAP attribute sambaLogonScript is
missing.
From that you will need to use the ldap attribute 'scriptPath' if you
are using AD and the ldap attribute 'sambaLogonScript' if you are using
an ldap based PDC and it falls back to the value set with this parameter
in smb.conf if the user doesn't have a 'sa...
2023 Apr 04
1
logon script
Hi, I am using Samba 4 with domain controller role. The clients use Windows
10. I am trying to run a logon script every time a user logs in to give
them access to the internet automatically by updating iptables. I have read
in the smb.conf man pages that with this configuration I should use the
ldap scriptpath attribute but I don't know how to do it. Does anyone have
any idea how to achieve
2006 Jul 02
0
Different logon.bats
Hi,
I run Samba with ldapsam backend. Now I want to use different logon
scripts for different types of users like that:
user 1:
sambaLogonScript: logon1.bat
user 2:
sambaLogonScript: logon2.bat
Problem is whatever value I insert for "sambaLogonScript" the script is
simply not executed upon login. (I also tried "\\pdc\netlogon\scripts
\logonX.bat" but that doesn't work either)
My smb.conf reads:
[netlogon]...
2004 Mar 11
1
LDAP issue, access denied adding machine to domain, and LDAP user can't make unix-login on the box.
...3
displayname: test3
sn: test3
uid: test3
loginshell: /bin/bash
homedirectory: /samba/home/test3
gidnumber: 512
objectclass: inetOrgPerson
objectclass: sambaSAMAccount
objectclass: posixAccount
sambahomepath: \\LOGIN\homes
sambahomedrive: H:
sambaacctflags: [U ]
sambadomainname: SKOLE1
sambalogonscript: \\LOGIN\logonScript\test3.bat
sambaprofilepath: \\LOGIN\test3\.profile
sambaprimarygroupsid: S-1-5-21-2409322033-11024189-1315579533-512
sambalmpassword: 07E9BB454DCA7EBCAAD3B435B51404EE
sambantpassword: C3F7CE8E37AB104169F3313FF2C6AC6A
userpassword: {MD5}WnsFSpsqzAhNDorh9YhDpA==
I can vali...
2010 Nov 12
1
Samba and LDAP - which attributes are mandatory which optional
...which optional
for user and workstation accounts.
After using the smbldap-populate command there where different
attributes set than for adding users with the smbldap-useradd command.
--- snip ---
sambaAcctFlags:
sambaHomeDrive:
sambaHomePath:
sambaKickoffTime:
sambaLMPassword:
sambaLogoffTime:
sambaLogonScript:
sambaLogonTime:
sambaNTPassword:
sambaPrimaryGroupSID:
sambaProfilePath:
sambaPwdCanChange:
sambaPwdLastSet
sambaPwdMustChange:
--- snap ---
Regards and Thanks for any help,
G?tz
--
G?tz Reinicke
IT-Koordinator
Tel. +49 7141 969 420
Fax +49 7141 969 55 420
E-Mail goetz.reinicke at filmakad...
2004 Nov 16
4
Samba/Netscape Directory Server
...ot;(&(sambaSID=S-1-5-21-709490077-3483046013-2562787883-501)(objectClass=sambaSamAccount))"
attrs="uid uidNumber gidNumber homeDirectory sambaPwdLastSet
sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime
sambaKickoffTime cn displayName sambaHomeDrive sambaHomePath
sambaLogonScript sambaProfilePath description sambaUserWorkstations
sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword
sambaDomainName objectClass sambaAcctFlags sambamungeddial
sambabadpasswordcount sambabadpasswordtime sambapasswordhistory
modifyTimestamp sambalogonhours modifyTimestamp"
[16/N...
2006 Mar 09
1
changing password on samba bdc
...=xx" scope=2 deref=0 filter="(&(uid=jdoe)(objectClass=sambaSamAccount))"
conn=327 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp
conn=327 op=2...
2003 Dec 13
1
Can't login
...3874-2698746014-501)(objectClass=sambaSamAccount))"
Dec 13 16:52:41 mail slapd[18817]: conn=3777 op=3 SRCH attr=uid
uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange
sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn
displayName sambaHomeDrive sambaHomePath sambaLogonScript
sambaProfilePath description sambaUserWorkstations sambaSID
sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName
objectClass sambaAcctFlags
Dec 13 16:52:41 mail slapd[18817]: conn=3777 op=3 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 13 16:52:41 mail slapd[18813]: conn=3778 fd=...
2005 Mar 18
2
PDC Samba 3+LDAP
...(&(uid=arzur)(objectClass=sambaSamAccount))"
Mar 18 17:08:50 mastok slapd[5569]: conn=131 op=1 SRCH attr=uid
uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange
sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn
displayName sambaHomeDrive sambaHomePath sambaLogonScript
sambaProfilePath description sambaUserWorkstations sambaSID
sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName
objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount
sambaBadPasswordTime sambaPasswordHistory modifyTimestamp
sambaLogonHours modifyTimestamp
Mar 18 17:...
2004 Nov 29
1
logon scripts execute randomly
I use samba 3.0.9 as a pdc with ldapsam. In the ldap entries, for every user
there is a logon script sambaLogonScript. I only use two different scripts
for 1000 users and 100 computers. The scripts lehrer.bat and schueler.bat
reside in the netlogon share and provide more shares with the net use
command.
>From the user's perspective, this often works well. sometimes, however, the
script is not executed, wit...
2011 Feb 18
3
Help needed with Windows7 roaming files.
...often.
I've enclosed some related info below; the same config works perfectly with
windowsXP clients.
Ldap entries (samba related)
objectClass: sambaSamAccount
sambaSID: S-1-5-21-1209579028-1696229136-1764916649-15754
sambaHomePath: \\server1\user1
sambaProfilePath: \\server1\user1\.profile
sambaLogonScript: logon.bat
sambaAcctFlags: [UX ]
sambaPrimaryGroupSID: S-1-5-21-1209579028-1696229136-1764916649-513
smb.conf
[global]
....
logon drive = H:
logon home = \\%s\%U
[profiles]
path = /home
browseable = no
read only = no
profile acls = yes
csc policy = disable
hide files=/Deskto...
2004 Apr 29
2
Samba 3 PDC + OpenLDAP + Mandrake 10.0
..."(&(uid=gdm)(objectClass=sambaSamAccount))"
Apr 29 04:14:15 qjktsmb slapd[7401]: conn=5 op=4 SRCH attr=uid uidNumber
gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange
sambaLogonTime sambaLogoffTime sambaKickoffTime cn displayName
sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description
sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword
sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial
Apr 29 04:14:15 qjktsmb slapd[7401]: conn=5 op=4 SEARCH RESULT tag=101 err=0
nentries=0 text=
Apr 29 04:14:15 qjktsmb slapd[740...
2004 Mar 15
1
cannot change file permissions
...-21-2443489570-4015384086-1858331161-513
sambaHomeDrive: H:
sambaHomePath: \\LOGIN\homes
sambaProfilePath: \\LOGIN\profile\lf
sambaPwdMustChange: 1082893749
sambaLMPassword: *snip*
sambaPwdLastSet: 1079005749
sambaAcctFlags: [U]
sambaNTPassword: *snip*
userPassword:: *snip*
displayName: Lukas Frese
sambaLogonScript: login.bat
gecos: Lukas Frese
description: Lukas Frese
uid: lf
---cut---
Help is really appreciated as I am stucking with this problems for such
a long time now without any light at the end of the tunnel!
Thanks very much,
Matthias Eichler
2007 Nov 08
1
sambaUserWorkstations (with LDAP) not working with Groups of Computers ?
Hi,
I'm trying to use the sambaUserWorkstations option to allow users to log
on certain computers only. This option looks great... In fact it looks
now a lot better than the 'ldap filter' one than was deprecated with
samba 3.0.20...
The fact is, if the sambaUserWorkstations option works well with machine
names, it doesn't seem to work when specifying groups of machines.
2005 Jul 20
0
duplicate entries for user
...e=2 filter="(&(objectClass=sambaSamAccount))"
Jul 20 23:09:09 gamix slapd[6091]: conn=7 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp
Jul 20 23:09:09...
2003 Sep 30
0
samba 3.0.0-1 + OpenLDAP
...2147483647
displayName: System User
sambaAcctFlags: [UX]
sambaSID: S-1-5-21-4263734852-1518306851-1126385063-3004
sambaPrimaryGroupSID: S-1-5-21-4263734852-1518306851-1126385063-1401
sambaHomeDrive: U:
sambaHomePath: \\smb.example.com\homes
sambaProfilePath: \\smb.example.com\profiles\Administrator
sambaLogonScript: Administrator.cmd
sambaLMPassword: 570992575A0E7CAAC2265B23734E0DAC
sambaNTPassword: 9B0166BEA503BA881D5BAC85EB8C93FA
sambaPwdLastSet: 1064935056
userPassword:: e1NTSEF9QmFBbyt2Q2VEdGZ1Ylh4YlByL3FrYlF6TnBRaS9ud3k=
----xxxx---
# root, Users, EXAMPLE, COM
dn: uid=root,ou=Users,dc=EXAMPLE,dc=COM
o...
2005 Feb 22
0
LDAP backend for a stand-alone server
...=s-1-0-0-501)(objectClass=sambaSamAccount))"
Feb 22 09:37:04 gofannon slapd[10121]: conn=2481 op=8 SRCH attr=uid
uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange
sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn
displayName sambaHomeDrive sambaHomePath sambaLogonScript
sambaProfilePath description sambaUserWorkstations sambaSID
sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName
objectClass sambaAcctFlags sambaMungedDial
sambaBadPasswordCount sambaBadPasswordTime modifyTimestamp
Feb 22 09:37:04 ldapserver slapd[10121]: conn=2481 op=8 SEARCH R...
2012 Oct 09
2
Cannot make Windows join Samba domain
...;(uid=root)(objectClass=sambaSamAccount))"
Oct 8 21:54:37 sambaserver slapd[2572]: conn=1115 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp uidNumber gidNu...