Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Dmitriy Kirhlarov
Hi!

On Thu, Dec 22, 2005 at 04:24:59PM +0100, Tomasz Chmielewski wrote:
 This SVN/CVS-like share handles the change inteligently, and makes a copy of 
 the 
 previous file to a ro file somewhere else:

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2618377
?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba + ldap

2005-12-14 Thread Dmitriy Kirhlarov
Hi, all.

I carefuly read [samba]ldapsam:trusted = yes kills smbd thread, but
it not help me.
My samba want use domain-likes SID's.

I have 5 (possible, more) distributed over world samba servers.
This servers nothing know about neighbours. Today we are using rsync
for syncing smbpasswd files.

Also, I have several replicated ldap servers with my unix users
accounts. And I want use this servers for replacing smbpasswd files.

I have to use security = user, instead PDC-BDC, because my samba
servers can't interact.

I use samba-3.0.20b,1 on FreeBSD 6.0-STABLE

Problem is -- I can't authentificate on samba server. My smb.conf,
smb.ldif (my tree) and samba log (with log lovel = 10) accessible on
http://clh.higis.ru/~dimma/samba/

Plz, help me.

On Fri, Nov 25, 2005 at 04:43:43PM +, Daniel Wilson wrote:
 i had the same problem as this!! well if your using ldapsam:trusted=yes
 
 look for the thread titled [samba]ldapsam:trusted = yes kills smbd
 
 ..but pretty much it was this..
 i have changed the sambaPrimaryGroupSid: S-1-1-0 on uid=nobody and 
 changed sambaSID: S-1-1-0 on group nobody and it now starts yeh!! :)
 
 
 On Fri, 2005-11-25 at 14:37, Dmitriy Kirhlarov wrote:
  Hi, all.
  
  Now my ldap-directory used for storing unix users accounts.
  I want use it for samba auth too.
  My samba config and ldap records attached.
  
  When I try start smbd I get error in logfile:
  [2005/11/25 16:30:21, 
  3]passdb/pdb_ldap.c:ldapsam_enum_group_memberships(2513) primary group of 
  [nobody] not found
  
  Any ideas?
  
  WBR
  -- 
  Dmitriy Kirhlarov
  OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
  P:+7 095 105 7247 ext.203 F:+7 095 105 7246 E:[EMAIL PROTECTED]
  OILspace - The resource enriched - www.oilspace.com
  
  __
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Share disconnect after inactivity

2005-11-28 Thread Dmitriy Kirhlarov
Hi,

On Mon, Nov 28, 2005 at 08:53:04AM +0100, Andreas Schlager wrote:
 deadtime is set to 0 (= default value).
 Maybe the documentation is wrong here?? (it says: A deadtime of zero 
 indicates that 
 no auto-disconnection should be performed.)

Try use 30 min. In this case we can understand -- is this option work.

 Or could it be a problem in the implementation? I've googled around and found 
 that 
 windows servers (NT4 and above) have a default disconnect time from 15 
 minutes. But 
 with a windows server this wasn't a problem for me at any time.

AFAIK, connection can be closed from server and from client.
Possible, you need tune your clients machines. Not samba server.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 095 105 7247 ext.203 F:+7 095 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Hiding and showing folders in Samba.

2005-11-27 Thread Dmitriy Kirhlarov

On Fri, Nov 25, 2005 at 07:06:53PM +0900, Michel Bouchet wrote:
 Hi,
 
 I am using Samba as a file server; with 11 users :
 usr1, usr2, . usr10, usr 11.
 
 There are 11 folders on the server :
 sfold1, sfold2, .. sfold10, sfold11
 
 Each user has full access (read/write) to his/her folder and no access at
 all to the other folders.
 
 Therefore I would like to get each user  to see his folder and none of the
 others when one access the samba-server.
 
 How can I do that ?

You can use %U in home share declaration. In this case, user mount his
/home/homedir, but not /home.


WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 095 105 7247 ext.203 F:+7 095 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Share disconnect after inactivity

2005-11-27 Thread Dmitriy Kirhlarov
Hi,

On Fri, Nov 25, 2005 at 04:33:47PM +0100, Andreas Schlager wrote:
 Hi list,
 
 I've the strange problem, that after some time of inactivity a share is being 
 disconnected. This leads to a red 'X' in the Workplace's list of connected 
 drives. 
 When opening a disconnected drive, the drive is being reconnected.

look to deadtime option in smb.conf(5)

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 095 105 7247 ext.203 F:+7 095 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba + ldap

2005-11-25 Thread Dmitriy Kirhlarov
Hi, all.

Now my ldap-directory used for storing unix users accounts.
I want use it for samba auth too.
My samba config and ldap records attached.

When I try start smbd I get error in logfile:
[2005/11/25 16:30:21, 3]passdb/pdb_ldap.c:ldapsam_enum_group_memberships(2513) 
primary group of [nobody] not found

Any ideas?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 095 105 7247 ext.203 F:+7 095 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
dn: uid=root,ou=users,o=oiltest
cn: root
sn: root
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 0
uid: root
uidNumber: 0
homeDirectory: /home/root
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaPrimaryGroupSID: S-1-5-21-3177952046-2209943301-2637743033-512
sambaLMPassword: XXX
sambaNTPassword: XXX
sambaAcctFlags: [U  ]
sambaSID: S-1-5-21-3177952046-2209943301-2637743033-500
loginShell: /bin/false
gecos: Netbios Domain Administrator

dn: uid=nobody,ou=users,o=oiltest
cn: nobody
sn: nobody
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 514
uid: nobody
uidNumber: 999
homeDirectory: /dev/null
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaPrimaryGroupSID: S-1-5-21-3177952046-2209943301-2637743033-514
sambaLMPassword: NO PASSWORDX
sambaNTPassword: NO PASSWORDX
sambaAcctFlags: [NU ]
loginShell: /bin/false
sambaSID: S-1-5-21-3177952046-2209943301-2637743033-501

dn: cn=Domain Admins,ou=groups,o=oiltest
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 512
cn: Domain Admins
memberUid: root
description: Netbios Domain Administrators
sambaSID: S-1-5-21-3177952046-2209943301-2637743033-512
sambaGroupType: 2
displayName: Domain Admins

dn: cn=Domain Guests,ou=groups,o=oiltest
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 514
cn: Domain Guests
description: Netbios Domain Guests Users
sambaSID: S-1-5-21-3177952046-2209943301-2637743033-514
sambaGroupType: 2
displayName: Domain Guests
memberUid: nobody

dn: cn=Domain Users,ou=groups,o=oiltest
sambaGroupType: 2
displayName: Domain Users
description: Netbios Domain Users
objectClass: posixGroup
objectClass: sambaGroupMapping
memberUid: nobody
gidNumber: 513
sambaSID: S-1-5-21-3177952046-2209943301-2637743033-513
cn: Domain Users

[global]
add group script = /usr/local/sbin/smbldap-groupadd -p %g
add machine script = /usr/local/sbin/smbldap-useradd -w %u
add user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g
admin users = root Administrator
available = yes
bind interfaces only = yes
client ntlmv2 auth = yes
deadtime = 30
delete user from group script = /usr/local/sbin/smbldap-groupmod -x 
%u %g
delete user script = /usr/local/sbin/smbldap-userdel %u
display charset = KOI8-R
dont descend = /proc,/dev,/usr/compat/linux/proc
dos charset = CP866
dos filetimes = yes
interfaces = fxp0 lo0
lanman auth = no
ldap admin dn = uid=fbsd-samba-admin,ou=virtusers,o=oiltest
ldap group suffix = ou=groups
ldap machine suffix = ou=machines
ldap passwd sync = Only
ldap replication sleep = 2000
ldapsam:trusted = yes
ldap ssl = start_tls
ldap suffix = o=oiltest
ldap user suffix = ou=users
log file = /var/log/samba/log
log level = 3 passdb:5 auth:10 winbind:2
map to guest = Bad User
netbios name = FBSD
os level = 65
passdb backend = ldapsam:ldap://fbsd
passwd program = /usr/local/sbin/smbldap-passwd %u
preload = Guest pub cdrom printers
security = USER
server signing = auto
server string = Samba Server on fbsd.mow.oilspace.com
set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u
time server = yes
workgroup = OILSPACE

[Guest]
# This share need for map to guest if security not share
comment = FTP public share
path = /var/ftp/pub
read only = yes

[pub]
hide dot files = no
hide special files = yes
inherit acls = yes
inherit permissions = yes
locking = yes
map acl inherit = yes
available = no
comment = FTP public share
path = /var/ftp/pub
browseable = yes

[homes]
comment = Home Directory
path = /home/%U
read only = no
browseable = yes
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman