search for: smbhome

Displaying 20 results from an estimated 54 matches for "smbhome".

1999 Oct 20
3
Preexec and smb.conf
...y and create it if it does not exist? preexec = if [ ! -e /home/%U/dir1] then /bin/mkdir /home/%U/dir1; fi Robert Robert -- I've always had to use root preexec to create directories, even though the user seemingly has permission to create it. Here's my code to make [homes] refer to an smbhome below the home directory, thus protecting the . files from Wacky Windows users: [homes] read only=yes valid users=%U write list=%U root preexec=mkdir 0770 /home/%U/smbhome & chown %U:%U /home/%U/smbhome & path=/home/%U/smbhome browseable=no You'll notice I'm not as diligent...
2004 Oct 01
1
mount.cifs and permissions
...BA) I just share them via NFS in such situations and mount /home on clients. However, since a file server (SAMBA) was already there, I tried to avoid setting up NFS. The following is what I did. 1) Added another user with uid=0 on the server, generated a password. 2) On the client, created the /smbhome directory, and executed the following command: mount -t cifs -o user=mount,password=XXXXXX //192.168.0.100/homedirs /smbhome This worked. 3) Logged in as a user. Tried to create a file in the place under /smbhome where this user could do so. The owner of that file was expected to be that use...
1999 Oct 19
2
Preexec and multiple commands
Hi, I am trying to create two directories using the preexec command but I must be missing something very simple. I just can?t figure out the syntax. How would I continue this so that I could create dir2? preexec = if [ ! -e /home/%U/dir1] then /bin/mkdir /home/%U/dir1; fi Regards Robert ----------------------------------------------------------
2001 Dec 03
6
smbpasswd and ldap
...Time] = [00000000] get_single_attribute: [kickoffTime] = [00000000] get_single_attribute: [pwdCanChange] = [3982F885] get_single_attribute: [pwdMustChange] = [FFFFFFFF] get_single_attribute: [gecos] = [Root user] get_single_attribute: [homeDrive] = [K:] homeDrive is set to K: get_single_attribute: [smbHome] = [NULL] smbHome is set to smbHome fell back to \\samba\%u get_single_attribute: [scriptPath] = [testmess.bat] scriptPath is set to testmess.bat get_single_attribute: [profilePath] = [\\samba\profiles\Administrator] profilePath is set to \\samba\profiles\Administrator get_single_attribute: [descr...
2002 Nov 25
2
smbpasswd problem with LDAP
...ute: [logoffTime] = [0] get_single_attribute: [kickoffTime] = [0] get_single_attribute: [pwdCanChange] = [0] get_single_attribute: [pwdMustChange] = [0] get_single_attribute: [cn] = [william] get_single_attribute: [homeDrive] = [<does not exist>] homeDrive fell back to get_single_attribute: [smbHome] = [<does not exist>] Home server: NAS smbHome fell back to \\NAS\william get_single_attribute: [scriptPath] = [<does not exist>] scriptPath fell back to get_single_attribute: [profilePath] = [<does not exist>] Home server: NAS profilePath fell back to \\NAS\william\profile get_s...
2003 Dec 09
1
samba - sql server authentication
...1, 2] passdb/pdb_ldap.c:get_single_attribute(435) get_single_attribute: [homeDrive] = [<does not exist>] [2003/12/09 14:02:51, 5] passdb/pdb_ldap.c:init_sam_from_ldap(626) homeDrive fell back to [2003/12/09 14:02:51, 2] passdb/pdb_ldap.c:get_single_attribute(435) get_single_attribute: [smbHome] = [<does not exist>] [2003/12/09 14:02:51, 4] lib/substitute.c:automount_server(183) Home server: prupref-ldap [2003/12/09 14:02:51, 5] passdb/pdb_ldap.c:init_sam_from_ldap(635) smbHome fell back to \\prupref-ldap\administrator [2003/12/09 14:02:51, 2] passdb/pdb_ldap.c:get_single_attrib...
2004 Jul 29
0
Migrating from NT4 causes profiles not to load
...;message from %f on %m' root < %s; rm %s idmap uid = 15000-20000 idmap gid = 15000-20000 admin users = root #profile acls = Yes printing = cups logon home = logon path = ######################## ## Shares Start Below ## ######################## [homes] comment = Home Directories /smbhomes/%u path = /smbhomes/%u read only = No browseable = No [netlogon] comment = Network Logon Service path = /smbnetlogon admin users = root guest ok = Yes browseable = No #[Profiles] # comment = Roaming Profile Share # path = /smbhomes/%u # read only = No # #inherit permissions = Yes # #in...
2007 Sep 03
0
How to - Samba, winbind and Active Directory
...TMPDIR # Source networking configuration. . /etc/sysconfig/network if [ -f /etc/sysconfig/samba ]; then . /etc/sysconfig/samba fi # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 # Check that smb.conf exists. [ -f /etc/samba/smb.conf ] || exit 0 RETVAL=0 SMBHOME="/usr/local/samba/sbin" start() { KIND="SMB" echo -n $"Starting $KIND services: " daemon $SMBHOME/smbd $SMBDOPTIONS RETVAL=$? echo KIND="NMB" echo -n $"Starting $KIND services: " daemo...
2001 Nov 05
1
name resolution across subnet bounderies
I do get problems with name resolution accross subnet bounderies. I have a working and wins server and to demonstrate the problem I paste the debug output of mount /smbhome/ opts: uid=1000 opts: gid=1000 mount.smbfs started (version 2.2.2debian-2) added interface ip=192.168.6.2 bcast=192.168.6.255 nmask=255.255.255.0 resolve_lmhosts: Attempting lmhosts lookup for name Tri-st-s001<0x20> startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No su...
2003 Jun 12
1
convertSambaAccount Problem
...YWxVbml0DQ== objectclass:: aW5ldE9yZ1BlcnNvbg0= objectclass:: cG9zaXhBY2NvdW50DQ== objectclass:: c2FtYmFBY2NvdW50DQ== dn:: dWlkPXNwdSwgb3U9dXNlcnMsIGRjPXRvdG8sZGM9YmUN logontime:: MA0= displayname:: U3lzdGVtIFVzZXIN lmpassword:: MzBDMDQyOTRCNkM3RDk1MjFBQTgxODM4MUU0RTI4MUIN primarygroupid:: MTIwMQ0= smbhome:: XFxBRE1JTjAxXGhvbWVzDQ== acctflags:: W1VYXQ0= scriptpath:: YWRtLmJhdA0= userpassword: {SSHA}oqF7dWp5XJPUA2ki5zauyCJ2O/UDmcyC mail:: c3RlcGhhbmUucHVybmVsbGVAdGlzY2FsaS5iZQ0= uid:: c3B1DQ== uidnumber:: MTAwMQ0= cn:: c3B1DQ== loginshell:: L2Jpbi9iYXNoDQ== homedrive:: SDoN logofftime:: MjE0NzQ4MzY0Nw...
2003 Jun 26
0
Accounts randomly clobber on user add (LDAP, XP, Samba PDC)
...dowAccount objectClass: sambaAccount uid: rkhan uidNumber: 1040 gidNumber: 1000 givenName: R sn: Khan cn: R Khan homeDirectory: /home/employees/rkhan loginShell: /bin/false gecos: R Khan shadowMax: 900 shadowWarning: 7 shadowInactive: 2 ou: IT shadowLastChange: 12101 userPassword:: secret rid: 3236 smbHome: \\xo\homes AFTER (BAD): dn: uid=rkhan,ou=Employees,dc=wildpackets,dc=com objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: account objectClass: top objectClass: posixAccount objectClass: shadowAccount objectClass: sambaAccount uidNumber: 1040 gidNumber:...
2003 Jul 12
0
Samba-2.2.8a & LDAP - Can't join Domain - SID mapping error
...oginShell: /bin/bash gecos: root shadowLastChange: 0 shadowMax: 0 shadowWarning: 0 userPassword: {SSHA}GN3hrCs7c8Kgd93df23838hHH uid: root pwdLastSet: 1057974221 logonTime: 0 logoffTime: 2147483647 kickoffTime: 2147483647 pwdCanChange: 2147483647 pwdMustChange: 2147483647 displayName: root cn: root smbHome: \\MY_PDC\homes homeDrive: Z: scriptPath: logon.cmd profilePath: \\MT-PDC\profiles\root rid: 1000 primaryGroupID: 1001 lmPassword: 639C041927C79D99AAEJKHRJFHKRJKL ntPassword: 6E1766AB79DDFHGJDHFJJHBJFHBJRHR acctFlags: [UX ] The machine name is also in LDAP like this: dn: uid=MYMACHINE$,ou...
2003 Aug 19
1
include files and smbmount
...nt %g_smb.confs for each group loging in to the server. The first problem is it takes up to 30 secs in my testing environment until the shares are shown (All Clients are XP). If the user loging in has specified his credentials in a seperate file he will have remote directories smbmounted to his smbhome under dir1 and dir2. If I try to access those directories from Linux after smbmounting them all is fine, but they are shopwn but not accessible under win. My logfile shows the following error: smbd/service.c:make_connection(844): couldn't find service [username] The users home dir is in the...
2003 Jan 29
0
Weird problem with mixed up id's
...ange: 2147483647 displayName: fg13z-15 cn: fg13z-15 rid: 3436 primaryGroupID: 2001 acctFlags: [UX ] uidNumber: 5258 mail: fg13z-15@lb-bbs1.emd.ni.schule.de mailLocalAddress: fg13z-15@fileserver.bbs1-emden.schule mailDeliveryOption: accept homeDirectory: /home/schueler/fg13z-15 homeDrive: P: smbHome: \\fileserver\fg13z-15 The ldap-entry of bfs1a-15: dn: cn=bfs1a-15,dc=bbs1-emden,dc=schule objectClass: posixAccount objectClass: sambaAccount objectClass: account objectClass: mailRecipient uidNumber: 1218 gidNumber: 500 loginShell: /bin/false description: schueler uid: bfs1a-15 pwdLastSet: 10283...
2001 Dec 15
3
winbindd: local unix users vs. NTdomain users ........
...n NT4), and this domain have user myuser (MYDOMAIN+myuser as see him Samba&Winbindd). Linux, which run Samba&winbindd, have local user myuser too. Local unix user myuser have uid 542 and home directory /home/myuser. Domain user MYDOMAIN+myuser have uid 10012 and template home directory /smbhome/MYDOMAIN/myuser. Strange thing: after connect myuser into domain MYDOMAIN from Windows2000 machine and connect into [homes] share onto Samba server, this user get uid 10012 (as MYDOMAIN+myuser) but his home directory is /home/myuser (as local unix user myuser). But /home/myuser have owner uid 542,...
2016 Apr 03
1
Samba suddenly restart and replication does not works anymore
...l] path = /var/lib/samba/sysvol read only = No [profiles_local] path = /fichsamba/smbprofile read only = No browseable = No [profiles] path = /srv/dfs/profiles read only = No msdfs root = yes [homes_local] path = /fichsamba/smbhome read only = No browseable = No [homes] path = /srv/dfs/homes read only = No msdfs root = yes [printers] path = /var/spool/samba printable = yes printing = CUPS [print$] path = /srv/samba/Printer_drivers comment = Printer Drivers writeabl...
2004 Jan 27
0
Strange Samba Behavior....
...passdb backend = ldapsam:"ldap://localhost" ldap machine suffix = ou=Computers ldap user suffix = ou=Users os level = 64 #include = /etc/samba/smblpr.conf #config file = /etc/samba/smb.%g [homes] comment = Home Directory path = /home/%u/smbhome valid users = %S create mask = 0650 directory mask = 0750 browseable = No followsymlinks = yes [web] comment = Web Directory path = /home/%u/smbhome/web valid users = %s create mask = 0650 directory mask = 0750...
2002 Mar 07
3
ldap problems
...cription: User objectClass: top objectClass: account objectClass: posixAccount objectClass: sambaAccount pwdLastSet: 0 logonTime: 0 logoffTime: 2147483647 kickoffTime: 2147483647 pwdCanChange: 0 pwdMustChange: 2147483647 displayName: User acctFlags: [UX] rid: 3004 primaryGroupID: 1401 homeDrive: H: smbHome: \\PDC-SRV\homes profilePath: \\PDC-SRV\profiles\administrator scriptPath: administrator.cmd lmPassword: D97250ED40513A79AAD3B435B51404EE ntPassword: 0386FBABCB8CF77E41C061AEA00E95A4 userPassword: {SSHA}BUcCgooxvfMJziKwhYF4vLXAyR91SGHm dn: uid=td,ou=People,dc=test,dc=org cn: td uid: td uidNumber:...
2002 Nov 12
1
Need clarification
...et_single_attribute: [logoffTime] = [2147483647] get_single_attribute: [kickoffTime] = [2147483647] get_single_attribute: [pwdCanChange] = [0] get_single_attribute: [pwdMustChange] = [2147483647] get_single_attribute: [cn] = [ldapuser] get_single_attribute: [homeDrive] = [H:] get_single_attribute: [smbHome] = [\\KS\home] get_single_attribute: [scriptPath] = [ldapuser.cmd] get_single_attribute: [profilePath] = [\\KS\profiles\ldapuser] get_single_attribute: [description] = [System User] get_single_attribute: [userWorkstations] = [<does not exist>] get_single_attribute: [rid] = [3014] get_single_a...
2004 Dec 27
4
PDC + LDAP
I'm trying to set up my LDAP in preparation to configure my Samba PDC. In the Official Samba-3 HOWTO and Reference Guide it give instructions on howto setup slapd.conf (section 10.4.4.3) After modifying the file it instructs to run /sbin/splapindex -f /splapd.conf When I run this I get the following error: /etc/openldap/schema/samba.schema: line 423: AttributeType not found: