[Samba] Migration from 3.5.6-27 to 3.6.16-31

2013-07-03 Thread Bruno Pereira
Hello,
I have a debian etch with (samba  3.5.6-27,) shares and windows 7 in the
domain. This works ok.
Since i installed the new version 3.6.16-31 I can not login with  domain
users in my windows client and the shares are inaccessible.

I solved the problem with the login,  removing the following line in my
smb.conf:
*ldapsam:trusted = yes*
but why this line works with the version 3.5.6-27 and not works with the
3.6.16-31?

Anyone can help me with this?
Thanks

*My sernet packages:*

dpkg -l | grep sernet
ii  sernet-cifs-mount  
3.5.6-27 mount helper for the cifs vfs
(mostly for ke
ii  sernet-ldb-tools   
3.5.6-27 SerNet Samba ldb tools
ii  sernet-libpam-smbpass  
3.6.16-31pluggable authentication module for
SMB pass
ii  sernet-libsmbclient0   
3.6.16-31shared library that allows
applications to t
ii  sernet-libwbclient0
3.6.16-31client library for interfacing with
winbind
ii  sernet-samba   
3.6.16-31a LanManager-like file and printer
server fo
ii  sernet-samba-common
3.6.16-31Samba common files used by both the
server a
ii  sernet-smbclient   
3.6.16-31a LanManager-like simple client for
Unix
ii  sernet-winbind 
3.6.16-31service to resolve user and group
informatio



*My smb.conf:*

...workgroup = BPEREIRA114
  netbios name = Test
  server string = %h-PDC

  interfaces = lo, eth0
  bind interfaces only = yes

  passdb backend = ldapsam:ldap://127.0.0.1/

  encrypt passwords = yes

  unix password sync = yes

;;  log file = /var/log/samba/%m.log
  log level = 0
  max log size = 10
  syslog = 4
  syslog only = yes

  ;enable privileges = yes

;;  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

  domain logons = yes
  os level = 80
  preferred master = yes
  domain master = yes
...
  ldap machine suffix = ou=Computers
  ldap group suffix = ou=Groups
  ldap ssl = no
  ldap passwd sync = yes

*ldapsam:trusted = yes*

  load printers = yes
  printing = bsd

  dos charset = 850
  unix charset = iso8859-15

  logon path =
  logon home =
  logon drive =


  include = /etc/samba/smb-print.conf

[share1]
  vfs object = recycle:recycle
  recycle:exclude = *.tmp *.temp *.o *.obj ~$*
  recycle:keeptree = True
  recycle:touch = True
  recycle:versions = True
  recycle:noversions = .doc|.xls|.ppt
  recycle:repository = .Recycle Bin
  recycle:maxsize = 0
  comment =
  path = /temp/share1]
  public = no
  browseable = yes
  readonly = yes
  admin users =
  valid users = @Domain Admins, @Domain Users
  write list = @Domain Admins, @Domain Users
  create mask = 0770
  force create mode = 0770
  force security mode = 0770
  directory mask = 0770


-- 


Bruno Pereira
/IPBrick ID Dpt/   http://www.ipbrick.com/
IPBRICK International
Rua Passos Manuel, 66/76
4000-381 Porto
PortugalTEL: +351 221 207 100
FAX: +351 225 189 722
UCoIP: bpere...@ipbrick.com mailto:bpere...@ipbrick.com
www.ipbrick.com http://www.ipbrick.com/
www.iportaldoc.com http://www.iportaldoc.com/ Facebook
http://www.facebook.com/pages/IPBrick/263923950988/ Twitter
http://twitter.com/IPBrick/ Linked In
http://pt.linkedin.com/in/ipbrick/

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Migration from 3.5.6-27 to 3.6.16-31

2013-07-03 Thread Bruno Pereira
Hello,
I have a debian etch with (samba 3.5.6-27,) shares and windows 7 in the
domain. This works ok.
Since i installed the new version 3.6.16-31 I can not login with domain
users in my windows client and the shares are inaccessible.

I solved the problem with the login, removing the following line in my
smb.conf:
*ldapsam:trusted = yes*
but why this line works with the version 3.5.6-27 and not works with the
3.6.16-31?

Anyone can help me with this?
Thanks

*My sernet packages:*

dpkg -l | grep sernet
ii sernet-cifs-mount
3.5.6-27 mount helper for the cifs vfs
(mostly for ke
ii sernet-ldb-tools
3.5.6-27 SerNet Samba ldb tools
ii sernet-libpam-smbpass
3.6.16-31 pluggable authentication module for
SMB pass
ii sernet-libsmbclient0
3.6.16-31 shared library that allows
applications to t
ii sernet-libwbclient0
3.6.16-31 client library for interfacing with
winbind
ii sernet-samba
3.6.16-31 a LanManager-like file and printer
server fo
ii sernet-samba-common
3.6.16-31 Samba common files used by both the
server a
ii sernet-smbclient
3.6.16-31 a LanManager-like simple client for
Unix
ii sernet-winbind
3.6.16-31 service to resolve user and group
informatio



*My smb.conf:*

...workgroup = BPEREIRA114
netbios name = Test
server string = %h-PDC

interfaces = lo, eth0
bind interfaces only = yes

passdb backend = ldapsam:ldap://127.0.0.1/

encrypt passwords = yes

unix password sync = yes

;; log file = /var/log/samba/%m.log
log level = 0
max log size = 10
syslog = 4
syslog only = yes

;enable privileges = yes

;; socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain logons = yes
os level = 80
preferred master = yes
domain master = yes
...
ldap machine suffix = ou=Computers
ldap group suffix = ou=Groups
ldap ssl = no
ldap passwd sync = yes

*ldapsam:trusted = yes*

load printers = yes
printing = bsd

dos charset = 850
unix charset = iso8859-15

logon path =
logon home =
logon drive =


include = /etc/samba/smb-print.conf

[share1]
vfs object = recycle:recycle
recycle:exclude = *.tmp *.temp *.o *.obj ~$*
recycle:keeptree = True
recycle:touch = True
recycle:versions = True
recycle:noversions = .doc|.xls|.ppt
recycle:repository = .Recycle Bin
recycle:maxsize = 0
comment =
path = /temp/share1]
public = no
browseable = yes
readonly = yes
admin users =
valid users = @Domain Admins, @Domain Users
write list = @Domain Admins, @Domain Users
create mask = 0770
force create mode = 0770
force security mode = 0770
directory mask = 0770


-- 


Bruno Pereira
/IPBrick ID Dpt/ http://www.ipbrick.com/
IPBRICK International
Rua Passos Manuel, 66/76
4000-381 Porto
Portugal TEL: +351 221 207 100
FAX: +351 225 189 722
UCoIP: bpere...@ipbrick.com mailto:bpere...@ipbrick.com
www.ipbrick.com http://www.ipbrick.com/
www.iportaldoc.com http://www.iportaldoc.com/ Facebook
http://www.facebook.com/pages/IPBrick/263923950988/ Twitter
http://twitter.com/IPBrick/ Linked In
http://pt.linkedin.com/in/ipbrick/


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 4.0.0 - Browseable option don't work

2013-01-10 Thread Bruno Pereira
Hello Hleb Valoshka

I tried s3fs and works fine for me

Thanks
On 01/07/2013 04:25 PM, Hleb Valoshka wrote:
 On 1/7/13, Bruno Pereira bpere...@ipbrick.com wrote:
 I configured some shares with the option browseable = No but this
 share still browseable.
 server services = ... smb
 I guess the reason is the ntvfs. Try s3fs.


-- 
Bruno Pereira
/IPBrick ID Dpt/   http://www.ipbrick.com/
IPBRICK International
Rua Passos Manuel, 66/76
4000-381 Porto
PortugalTEL: +351 221 207 100
FAX: +351 225 189 722
UCoIP: bpere...@ipbrick.com mailto:bpere...@ipbrick.com
www.ipbrick.com http://www.ipbrick.com/
www.iportaldoc.com http://www.iportaldoc.com/ Facebook
http://www.facebook.com/pages/IPBrick/263923950988/ Twitter
http://twitter.com/IPBrick/ Linked In
http://pt.linkedin.com/in/ipbrick/

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba-tool dbcheck produces wrong instancetype errors

2013-01-10 Thread Bruno Pereira
Hello,

I have the same issue in a W2K3 and W2K8 AD domain.

Best Regards


On 01/10/2013 04:50 PM, Chris Lewis wrote:
 Hi All,

 I have joined a samba4 instance to en existing W2k8 AD domain as an
 additional domain controller.

 When I do

 samba-tool dbcheck

 I get (example) :

 ERROR: wrong instanceType 4 on CN=INVIEW-DC2,OU=Domain
 Controllers,DC=inview,DC=local, should be 0
 Not changing instanceType from 4 to 0 on CN=INVIEW-DC2,OU=Domain
 Controllers,DC=inview,DC=local


 This happens for  644 out of 655 of the objects in directory. I have
 attempted to fix one or two less important objects and the error does
 not appear again.

 Before I go ahead and fix them all, I want to find out whether doing
 this would have any unwanted ramifications?

 Can anyone explain what causes these errors and if fixing them might
 break something?

 Thanks in advance

 Chris



-- 
Bruno Pereira
/IPBrick ID Dpt/   http://www.ipbrick.com/
IPBRICK International
Rua Passos Manuel, 66/76
4000-381 Porto
PortugalTEL: +351 221 207 100
FAX: +351 225 189 722
UCoIP: bpere...@ipbrick.com mailto:bpere...@ipbrick.com
www.ipbrick.com http://www.ipbrick.com/
www.iportaldoc.com http://www.iportaldoc.com/ Facebook
http://www.facebook.com/pages/IPBrick/263923950988/ Twitter
http://twitter.com/IPBrick/ Linked In
http://pt.linkedin.com/in/ipbrick/

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba 4.0.0 - Browseable option don't work

2013-01-07 Thread Bruno Pereira
Hello,

I configured some shares with the option browseable = No but this
share still browseable.

my smb.conf:

[global]
workgroup = CENA-C
realm = cena-c.pt
netbios name = SAMBA
server role = active directory domain controller
template shell = /bin/bash
server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbind, ntp_signd, kcc, dnsupdate, dns, smb
dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser,
eventlog6, backupkey, dnsserver, winreg, srvsvc
idmap_ldb:use rfc2307  = yes
include = /usr/local/samba/etc/allconfs.conf

[profiles]
comment = Network Profiles Share
path = /home1/_profiles
read only = No
create mask = 0600
directory mask = 0700
profile acls = Yes
store dos attributes = Yes
browseable = No
csc policy = disable

[tmp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
browseable = No

[Share1]
comment = Share1
path = /home1/_shares/share1
read only = No
browseable = No

[netlogon]
path = /usr/local/samba/var/locks/sysvol/cena-c.pt/scripts
read only = No

[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No

I restarted the connection but nothing happened.
Can anyone help me with this question?


Bruno Pereira

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba