Operating System - Linux
1828183 Members
2648 Online
109975 Solutions
New Discussion

error when trying to add samba shares for groups

 
Oskar Teran
Frequent Advisor

error when trying to add samba shares for groups

hello,
when I try to add the shares (groups, acct, corp, f_ops, ops) I get these errors.

This is on Suse openexchange 4.1 if it helps.

Any ideas?

thanks,

Oskar

ps. I read the BUGS.txt file, wasn't too much help. I'm going to try to put the debug level higher to see if I can get more details.


[2005/01/05 19:59:37, 0] lib/fault.c:fault_report(39)
INTERNAL ERROR: Signal 11 in pid 5061 (2.2.8a-UL)
Please read the file BUGS.txt in the distribution
[2005/01/05 19:59:37, 0] lib/fault.c:fault_report(41)
===============================================================
[2005/01/05 19:59:37, 0] lib/util.c:smb_panic(1135)
PANIC: internal error
[2005/01/05 19:59:37, 0] lib/fault.c:fault_report(38)
===============================================================
[2005/01/05 19:59:37, 0] lib/fault.c:fault_report(39)
INTERNAL ERROR: Signal 11 in pid 5062 (2.2.8a-UL)
Please read the file BUGS.txt in the distribution
[2005/01/05 19:59:37, 0] lib/fault.c:fault_report(41)
===============================================================
[2005/01/05 19:59:37, 0] lib/util.c:smb_panic(1135)
PANIC: internal error
[2005/01/05 20:02:47, 0] smbd/server.c:main(791)
smbd version 2.2.8a-UL started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/01/05 20:02:47, 1] lib/debug.c:debug_message(258)
INFO: Debug class all level = 1 (pid 5802 from pid 5802)
[2005/01/05 20:03:27, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
ldap_connect_system: Binding to ldap server as "uid=cyrus,dc=xxxx,dc=com"
[2005/01/05 20:03:27, 0] lib/fault.c:fault_report(38)
===============================================================
[2005/01/05 20:03:27, 0] lib/fault.c:fault_report(39)
INTERNAL ERROR: Signal 11 in pid 5892 (2.2.8a-UL)
Please read the file BUGS.txt in the distribution
[2005/01/05 20:03:27, 0] lib/fault.c:fault_report(41)
===============================================================
[2005/01/05 20:03:27, 0] lib/util.c:smb_panic(1135)
PANIC: internal error
mail:/var/log/samba #
********************************************************************************


mail:/etc/samba # smbclient -L localhost
added interface ip=192.168.1.201 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Domain=[xxxx-NET] OS=[Unix] Server=[Samba 2.2.8a-UL]
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
tree connect failed: Read error: Connection reset by peer

*********************************************************************************

mail:/etc/samba # cat smb.conf
[global]
add user script = /usr/sbin/addsmbmachine2ldap %m
admin users = administrator
domain logons = yes
domain master = yes
encrypt passwords = yes
ldap admin dn = uid=cyrus,dc=xxxxx,dc=com
ldap del only sam attr = Yes
ldap filter = (&(uid=%u)(objectclass=sambaAccount))
ldap port = 389
ldap server = localhost
ldap ssl = No
ldap suffix = dc=xxxconstructors,dc=com
log level = 1
logon home = \\%L\%U
logon path = \\%L\%U\profile
map to guest = Bad User
os level = 255
preferred master = no
printcap name = CUPS
printing = CUPS
security = user
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
syslog = 0
time server = Yes
unix extensions = Yes
username map = /etc/samba/smbusers
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
wins support = yes
workgroup = xxx-NET

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
browseable = no
guest ok = yes
writable = no
share modes = no
[homes]
browseable = No
comment = Home Directories
create mask = 0640
directory mask = 0750
read only = No
valid users = %S
[print$]
comment = Printer Drivers
create mask = 0664
directory mask = 0775
force group = ntadmin
path = /var/lib/samba/drivers
write list = @ntadmin root
[printers]
browseable = No
comment = All Printers
create mask = 0600
path = /var/tmp
printable = Yes
[Groups]
comment=Share of all groups
path=/var/groupfolders
writeable=Yes
inherit permissions=Yes
[Acct]
comment=Accounting
path=/var/groupfolders/Accounting
writeable=Yes
inherit permissions=Yes
browseable=No
[Corp]
comment=Corporate
path=/var/groupfolders/Corporate
writeable=Yes
inherit permissions=Yes
browseable=No
[F_Ops]
comment=Field Operations
path=/var/groupfolders/Field_Ops
writeable=Yes
inherit permissions=Yes
browseable=No
[Ops]
comment=Operations
path=/var/groupfolders/Operations
writeable=Yes
inherit permissions=Yes
browseable=No


mail:/etc/samba #



3 REPLIES 3
xyko_1
Esteemed Contributor

Re: error when trying to add samba shares for groups

Hi Oskar,

The problem only occours when you try to give share permissions to groups and it doesn't occours when you give permissions to single users ?

I've never runned samba with ldap. Did you verify if your ldap server is running well ? Try to access the ldap server using another application, not samba, and see if it runs without problems.

regards,
Xyko
Oskar Teran
Frequent Advisor

Re: error when trying to add samba shares for groups

the ldap part is working fine.
it works fine when the smb.conf doesn't have the shared group folders.
When I add the shared group folders and run testparm, it complains that the names are longer than 8 characters and may not be seen by older clients, etc.
I tried making the folder names less than 8 characters and it still chokes.
When I remove the shared group folders, it works perfectly!!

xyko_1
Esteemed Contributor

Re: error when trying to add samba shares for groups

Hi Oskar,

I really don't know what is happening. I did a similar configuration on a samba 227 with no ldap support for testing purpose and it works.

I'll continue testing for you.

regards,
xyko