search for: genlogon

Displaying 18 results from an estimated 18 matches for "genlogon".

2003 Jun 11
0
Can't seem to change "logon script = logon.bat"
...ange many options but the "logon script = logon.bat" doesn't want to change. This is what I have in my smb.conf file : [global] ...some stuff... logon script = %U.bat logon drive = H: [netlogon] comment = Initialization Scripts path = /path/to/netlogon root preexec = genlogon.pl %U %G %L %m %I readonly = yes guest ok = yes browseable = no I have the genlogon.pl script in the /path/to/netlogon and is executable from the console. When I run testparm I get the following (picked out relevent part) : logon script = logon.bat logon path = \\%N\%U\...
2004 Mar 10
3
Win2k joining a Samba domain
Hi, Having managed to get far enough with the config to get a win2k box to connect to a Samba v3.0 share where the Samba machine's backend is based in LDAP, I cannot now add this win2k machine to the domain. Can anyone give me an example of how to set up an account within the LDAP server that has sufficient rights to allow the machine to join my Samba domain? Regards, Graham --
2002 Oct 28
2
root prexec/postexec & login scripts
I have a perl script that I'd like to use to create windows 9x login scripts at login time but I cannot get the process to work right. I have RedHat 7.3 (actually the k12ltsp v2.1.0 which is a modified RH7.3) set up as a domain controller which is working well. Manually created login scripts run fine on the workstations at login. I'm using a netlogon script I found at
2002 Nov 18
0
user help
...th=/tmp >read only=yes >path =/tmp >[homes] > comment = Home Directories > browseable =yes > writable = yes >path=/home/%u/Public >only user=no >[netlogon] > comment = Network Logon Service > path = /usr/disk/netlogon > root preexec=/usr/disk/netlogon/genlogon.pl %U %G %L > root postexec=rm /usr/disk/netlogon/%U.bat >The logon file genlogon is below: >($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); >open LOG,">>/var/log/samba/netlogon.log"; >print LOG >"$mon/$mday/$year $hour:$min:$sec -U...
2003 Dec 09
2
netlogon script generation
Can anyone point me to a doc or a script that shows how to generate netlogon script on the fly and supports users having multiple groups? I tried the Perl script referenced at <http://us2.samba.org/samba/docs/man/AdvancedNetworkManagement.html> but I believe it only supports the user being a member of one group. -- Andrew Gaffney
2003 Nov 02
1
Strange entries in logfiles
...dev/null -g NTMachines -s /bin/false -M %u admin users = @ntadmin bind interfaces only = Yes create mask = 0750 domain admin group = @ntadmin domain logons = Yes domain master = Yes encrypt passwords = Yes interfaces = IP_SERVER/24 local master = Yes lock directory = /var/spool/samba logon script = genlogon.bat logon path = \\%N\profiles\%u max xmit = 32767 message command = sh -c '/usr/local/samba/bin/winpopup %f %m %M %s' & os level = 64 passwd program = /usr/bin/passwd %u passwd chat = New\sUNIX\spassword* %n\n *Retype\snew\sUNIX\spassword* %n\n passwd chat debug = Yes preferred master...
2005 Feb 24
1
Samba Upgrade Yields Undesired Domain-Wide IE High Security
...= 255 preferred master = Yes domain master = Yes wins support = Yes logon script = %u.bat domain admin group = netadmins [netlogon] path = /usr/local/samba/lib/netlogon browseable = No root preexec = perl /usr/local/samba/lib/netlogon/genlogon.pl %u %g %m root postexec = perl /usr/local/samba/lib/netlogon/genlogoff.pl %u __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
2003 Sep 29
2
nested logon scripts
I Have my users organised in 1: Whole Company, 2: Department, 3: User I need a logon script that executes certain comments for all users, certain commands per department and certain comments per user. For user andre in department sales it would thus execute all.cmd, sales.cmd and andre.cmd Is this possible? (I'm using samba 3.0 as DC with LDAP) Andr? de Koning IT Manager Softline VIP
2001 Apr 11
0
(no subject)
...server/Profiles readonly = false create mask = 0600 directory mask = 0700 browseable = false guest ok = false writable = true [netlogon] path = /shared/netlogon comment = Netlogon share root preexec = /shared/netlogon/genlogon.pl %U %G %L %m root postexec = /shared/netlogon/dellogon.pl %U %G %L %m writeable = no guest ok = no browseable = no the %U.bat login script that gets generated for a user looks like this: @echo off NET TIME \\server /SET /YES NET USE N: \\server\pcstuff NET U...
2004 Oct 01
0
Renamed Samba Domain, now machine accounts fail
...preferred master = yes os level = 240 dns proxy = no security = user passdb backend = smbpasswd root = administrator restrict anonymous = 2 domain logons = yes logon path = \\%L\profiles\%U logon script = %U.bat logon drive = U: root preexec = /usr/local/scripts/genlogon.pl %U %G %L # Script Options passwd program = /usr/bin/passwd %u passwd chat = *New*password*%n\n*Retype*New*Password*%n\n add user script = /usr/sbin/pw useradd %u -c %u -d /u1/%u -g 200 -m -w no -s /bin/date -Y add group script = /usr/sbin/pw groupadd %g -Y add machine script = /...
2004 Jun 17
2
ldap + samba + group membership problem
...quot; depending on his "groups membership" so : net use D: \\servershare\docs (joe is group membership of "docs") net use F: \\servershare\software (joe is group membership of "software" too) ... But I've noticed in the example script of source distrib. of SAMBA (genlogon.pl) that there is the use of %G witch is the main group of the user. looking in the man page of smb.conf , I didn' t see a parameter identifying a list of group membership for the user : %U My question now is : Has anyone had the same problem for groups membership into the login script, and...
2010 Aug 05
1
Throughput problem with Samba 3.3.4 over VPN
...ories valid users = %S read only = No create mask = 0700 directory mask = 02700 browseable = No root preexec = /usr/local/bin/mkhome %u [netlogon] comment = Network Logon Service path = /srv/home/samba/netlogon/ browseable = No root preexec = /srv/home/samba/genlogon.pl %U %G %L [profiles] path = /srv/home/samba/profiles valid users = %U, "@Domain Admins" force user = %U read only = No create mask = 0600 directory mask = 0700 profile acls = Yes hide files = /desktop.ini/ntuser.ini/NTUSER.*/ browseable = No csc...
2007 May 14
3
install opt-samba-base on aix 5.3
I am trying to install samba 3.0.24 on aix 5.3. I have downlaoded the binaries from samba.org and I am using the directions found at: http://us4.samba.org/samba/ftp/Binary_Packages/AIX/ The directions dont specify installing the base. WHen I try to install the pware 3.0.24, it fails due to required packages missing. I do not see a way to get opt-samba-base installed. Included below is the
2009 Oct 01
2
PDC witch LDAP and machine account lookup
Hey all, i do have the following problem: i set up a PDC with Samba with an LDAP backend. Everything works fine but the machine account lookup. If i try to logon to the domain i have to create the machine account in ou=People,dc=testing,dc=de. Everything works fine with this. But if i create the machine account in ou=Computers,dc=testing,dc=de and change all suffixes according to this the
2004 Feb 01
3
Several logon script bat files?
I simply wonder if I can have several different logon script bat files for MS Win users that validates through my Samba PDC? Let's say that group "users" should have logon batch users.bat and the members of the group "sales" should have both users.bat and sales.bat executed at logon? Or can I in some way use ONE script with parameters that knows about what groups the user
2003 Mar 04
5
XP "logon failure" but still logs on -- no roaming profile
I'm having a problem with roaming domains on Samba v3.0-alpha21. I've connected the machine (watertown) to the domain (precidia) via the server (griffon). I've logged on with my userid (bcwhite) and seen my roaming profile get created on the server upon logoff. Future logons grab the roaming profile and everything is fine. However, _sometimes_ I get a window with the message:
2006 Jan 22
4
SeBackupPrivilege
We're using Samba 3.0.21a-1 on a CentOS 4.2 server (kernel 2.6.9-22.0.2.ELsmp); everything works more or less fine, it's functioning as the PDC with an OpenLDAP back end (setup essentially straight from the Idealx.org playbook), etc. We're trying to mount Windows shares to back them up, and getting "permission denied" errors when trying to read certain files from those
2004 Jan 12
2
W2k/SQL Authentication problems 3.0.1, help please
...ate times = No vfs objects = msdfs root = No msdfs proxy = [homes] comment = Home Directories read only = No browseable = No [netlogon] comment = Network Logon Service path = /home/samba/netlogon write list = @admins guest ok = Yes share modes = No root preexec = /home/samba/scripts/genlogon.py %U %G %I %m %a %U.bat root postexec = /bin/rm -f /home/samba/netlogon/%U.bat [printers] comment = All Printers path = /home/samba/spool create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -J'%J' -r # using client side printer drivers. brow...