Re: [Samba] iconv issues with samba-3.2.15

2010-05-29 Thread samba user
I see the following link that suggests that there was a bug in gcc4.3.3
related to iconv:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/330020

Can someone please confirm if gcc4.3.3 can be used for building samba 3.2.15
(on MIPS CPU)?

Thanks in advance,
Marty.

On Sat, May 29, 2010 at 1:55 AM, samba user  wrote:

> Hello Experts:
>
> I upgraded from 3.0.25 to 3.2.15 - the compilation went thru fine but I get
> segmentation fault during runtime. It dumps core when function lp_load_ex
> (in file param/loadparm.c) calls init_iconv().
>
> I'm using GCC 4.3.3 to compile samba.
>
> I tried google search but couldn't find anything relevant. Can somone
> please suggest what could be going wrong.
>
> Thanks,
> Marty
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Trust between Samba PDC and AD domain

2010-05-29 Thread Scott Goodwin
Sorry, I sent this through the wrong email address a few minutes ago; 
apologies if its a duplicate.



I've pored through the documentation, wiki, lists, etc, and I can't seem
to come to a concise conclusion on how to accomplish this.
My specific scenario is the following.

I have a samba PDC domain called domainA, and an AD domain called
domainB.  domainA and domainB are different named domains, and they each
authenticate logins and credentials on their own turf.
The users on domainA need to access resources on domainB, so we set up
each user with a separate account in domainB (but they are not the same
name).  For example, my user name in domainA is sgoodwin, but in domainB
it is goodwsb.  I have to enter "domainB\goodwsb" + password every time
I access a different server in domainB (and there are many servers --
domainB is a very large domain).
Obviously, I need an interdomain trust set up, but I am unclear on some
of the finer points mentioned in the samba docs.

First off, I am hoping it is possible (and simple) to set it up so that
the user accounts in domainA map to their domainB accounts, so that no
extra authentication is needed. So, SSO between both domains. Is this
possible even though the account names are different?

Second, am I supposed to join my samba PDC to the AD domain as a member
server, or is that even possible when keeping the two domains separately
controlled?  Some of the docs seem to imply this, but maybe I'm
misinterpreting?

Without dumping all my configuration info, logs, etc, in the post, can
someone give me some hints on how I would set this up?  I don't need a
full hand-holding... just the direction to go in.
NOTE:  before you link me to
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html,
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html,
or
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/InterdomainTrusts.html,
I've already read through these entirely, and am still unsure which
scenario I need to follow.
Thanks for any help.
--scott

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


[Samba] Trust between Samba PDC and AD domain

2010-05-29 Thread Scott Goodwin
I've pored through the documentation, wiki, lists, etc, and I can't seem 
to come to a concise conclusion on how to accomplish this.

My specific scenario is the following.

I have a samba PDC domain called domainA, and an AD domain called 
domainB.  domainA and domainB are different named domains, and they each 
authenticate logins and credentials on their own turf.
The users on domainA need to access resources on domainB, so we set up 
each user with a separate account in domainB (but they are not the same 
name).  For example, my user name in domainA is sgoodwin, but in domainB 
it is goodwsb.  I have to enter "domainB\goodwsb" + password every time 
I access a different server in domainB (and there are many servers -- 
domainB is a very large domain).
Obviously, I need an interdomain trust set up, but I am unclear on some 
of the finer points mentioned in the samba docs.


First off, I am hoping it is possible (and simple) to set it up so that 
the user accounts in domainA map to their domainB accounts, so that no 
extra authentication is needed. So, SSO between both domains. Is this 
possible even though the account names are different?


Second, am I supposed to join my samba PDC to the AD domain as a member 
server, or is that even possible when keeping the two domains separately 
controlled?  Some of the docs seem to imply this, but maybe I'm 
misinterpreting?


Without dumping all my configuration info, logs, etc, in the post, can 
someone give me some hints on how I would set this up?  I don't need a 
full hand-holding... just the direction to go in.
NOTE:  before you link me to 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html, 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html, 
or 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/InterdomainTrusts.html, 
I've already read through these entirely, and am still unsure which 
scenario I need to follow.

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


Re: [Samba] URGENT! Issues after upgrade from Ubuntu Dapper to Lucid

2010-05-29 Thread tms3



SNIP


I need urgent help. I upgraded from dapper to lucid (samba version 3.0 
-> 3.4). Now I cannot log in to domain anymore (domain controller not 
available message), also new clients cannot join domain (semaphore 
timeout message after typing root username and password). If I take 
LAN cable out, so i can login, then shares work normally. What could 
have changed so i have issues? My smb.conf is same as before (samba 
3.0):


Rejoin the workstations to the domain.  Likely corrupted/bad machine 
account entries.


Cheers,

TMS III




[global]
log level = 2
interfaces=eth0
smb ports = 139
passwd program = /usr/bin/passwd %u
passdb backend = smbpasswd
log file = /var/log/samba/log.%m
logon drive = H:
null passwords = no
domain master = yes
encrypt passwords = true
netbios name = LINUX
server string = PROCESS Linux Server
hosts allow = 10.0.0. 127.0.0. 192.168.1. 5.16.0.42 5.16.9.205 
5.23.148.49 5.115.69.13 5.141.108.161 5.184.75.181 5.177.169.242

#hosts deny = 0.0.0.0/0
load printers = yes
max log size = 50
dos charset = CP852
UNIX charset = CP852
display charset = CP852
#client code page = 852
#valid chars = č:Č,š:Š,ž:Ž,ć:Ć,đ:Đ
create mask = 0770
directory mask = 0770
force create mode = 0770
force group = smbacc
logon script = %U.bat
#wins support = yes
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
unix password sync = yes
local master = yes
workgroup = PROCESS
os level = 99
add user script = /usr/sbin/useradd %u
add machine script=/usr/sbin/useradd -g machines -c Machine -s 
/bin/false %u

security = user
preferred master = yes
#domain admin group = @samadm
domain logons = yes
smb passwd file = /etc/samba/smbpasswd
hide unreadable = yes
vfs objects = full_audit
full_audit:failure = none
full_audit:success = mkdir rename unlink rmdir open pwrite
full_audit:prefix = %u|%I|%m|%S

[netlogon]
path = /mnt/data1/netlogon
public = no
browsable = no
read only = yes
guest ok = yes
admin users = root


And else are shares so I dont paste here!

Any help would be greatly appreciated!! Thank you very much!
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba


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

Re: [Samba] URGENT! Issues after upgrade from Ubuntu Dapper to Lucid

2010-05-29 Thread Scott Grizzard
do your users still have Samba rights?

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html

On May 29, 2010 5:06 PM, "Igor R."  wrote:

hello!

I need urgent help. I upgraded from dapper to lucid (samba version 3.0 ->
3.4). Now I cannot log in to domain anymore (domain controller not available
message), also new clients cannot join domain (semaphore timeout message
after typing root username and password). If I take LAN cable out, so i can
login, then shares work normally. What could have changed so i have issues?
My smb.conf is same as before (samba 3.0):

[global]
log level = 2
interfaces=eth0
smb ports = 139
passwd program = /usr/bin/passwd %u
passdb backend = smbpasswd
log file = /var/log/samba/log.%m
logon drive = H:
null passwords = no
domain master = yes
encrypt passwords = true
netbios name = LINUX
server string = PROCESS Linux Server
hosts allow = 10.0.0. 127.0.0. 192.168.1. 5.16.0.42 5.16.9.205 5.23.148.49
5.115.69.13 5.141.108.161 5.184.75.181 5.177.169.242
#hosts deny = 0.0.0.0/0
load printers = yes
max log size = 50
dos charset = CP852
UNIX charset = CP852
display charset = CP852
#client code page = 852
#valid chars = ÄŤ:ÄŚ,š:Ĺ ,Ĺľ:Ĺ˝,ć:Ć,Ä‘:Ä
create mask = 0770
directory mask = 0770
force create mode = 0770
force group = smbacc
logon script = %U.bat
#wins support = yes
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
unix password sync = yes
local master = yes
workgroup = PROCESS
os level = 99
add user script = /usr/sbin/useradd %u
add machine script=/usr/sbin/useradd -g machines -c Machine -s /bin/false %u
security = user
preferred master = yes
#domain admin group = @samadm
domain logons = yes
smb passwd file = /etc/samba/smbpasswd
hide unreadable = yes
vfs objects = full_audit
full_audit:failure = none
full_audit:success = mkdir rename unlink rmdir open pwrite
full_audit:prefix = %u|%I|%m|%S

[netlogon]
path = /mnt/data1/netlogon
public = no
browsable = no
read only = yes
guest ok = yes
admin users = root


And else are shares so I dont paste here!

Any help would be greatly appreciated!! Thank you very much!
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] URGENT! Issues after upgrade from Ubuntu Dapper to Lucid

2010-05-29 Thread Jack Downes
So... a LOT has changed.  Your best bet is to revert that machine back 
to a samba 3.0 and build up a test machine with samba 3.4.


I don't know what's wrong with your setup (don't have one like it), but 
i do know that having time to work on a system is much easier to deal 
with than to do it under the gun.


good luck!


On 05/29/10 02:55 PM, Igor R. wrote:

hello!

I need urgent help. I upgraded from dapper to lucid (samba version 3.0 ->  
3.4). Now I cannot log in to domain anymore (domain controller not available 
message), also new clients cannot join domain (semaphore timeout message after 
typing root username and password). If I take LAN cable out, so i can login, then 
shares work normally. What could have changed so i have issues? My smb.conf is 
same as before (samba 3.0):

[global]
log level = 2
interfaces=eth0
smb ports = 139
passwd program = /usr/bin/passwd %u
passdb backend = smbpasswd
log file = /var/log/samba/log.%m
logon drive = H:
null passwords = no
domain master = yes
encrypt passwords = true
netbios name = LINUX
server string = PROCESS Linux Server
hosts allow = 10.0.0. 127.0.0. 192.168.1. 5.16.0.42 5.16.9.205 5.23.148.49 
5.115.69.13 5.141.108.161 5.184.75.181 5.177.169.242
#hosts deny = 0.0.0.0/0
load printers = yes
max log size = 50
dos charset = CP852
UNIX charset = CP852
display charset = CP852
#client code page = 852
#valid chars = č:Č,š:Š,ž:Ž,ć:Ć,đ:Đ
create mask = 0770
directory mask = 0770
force create mode = 0770
force group = smbacc
logon script = %U.bat
#wins support = yes
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
unix password sync = yes
local master = yes
workgroup = PROCESS
os level = 99
add user script = /usr/sbin/useradd %u
add machine script=/usr/sbin/useradd -g machines -c Machine -s /bin/false %u
security = user
preferred master = yes
#domain admin group = @samadm
domain logons = yes
smb passwd file = /etc/samba/smbpasswd
hide unreadable = yes
vfs objects = full_audit
full_audit:failure = none
full_audit:success = mkdir rename unlink rmdir open pwrite
full_audit:prefix = %u|%I|%m|%S

[netlogon]
path = /mnt/data1/netlogon
public = no
browsable = no
read only = yes
guest ok = yes
admin users = root


And else are shares so I dont paste here!

Any help would be greatly appreciated!! Thank you very much!
   


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

[Samba] URGENT! Issues after upgrade from Ubuntu Dapper to Lucid

2010-05-29 Thread Igor R.
hello!

I need urgent help. I upgraded from dapper to lucid (samba version 3.0 -> 3.4). 
Now I cannot log in to domain anymore (domain controller not available 
message), also new clients cannot join domain (semaphore timeout message after 
typing root username and password). If I take LAN cable out, so i can login, 
then shares work normally. What could have changed so i have issues? My 
smb.conf is same as before (samba 3.0):

[global]
log level = 2
interfaces=eth0
smb ports = 139
passwd program = /usr/bin/passwd %u
passdb backend = smbpasswd
log file = /var/log/samba/log.%m
logon drive = H:
null passwords = no
domain master = yes
encrypt passwords = true
netbios name = LINUX
server string = PROCESS Linux Server
hosts allow = 10.0.0. 127.0.0. 192.168.1. 5.16.0.42 5.16.9.205 5.23.148.49 
5.115.69.13 5.141.108.161 5.184.75.181 5.177.169.242
#hosts deny = 0.0.0.0/0
load printers = yes
max log size = 50
dos charset = CP852
UNIX charset = CP852
display charset = CP852
#client code page = 852
#valid chars = č:Č,š:Š,ž:Ž,ć:Ć,đ:Đ
create mask = 0770
directory mask = 0770
force create mode = 0770
force group = smbacc
logon script = %U.bat
#wins support = yes
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
unix password sync = yes
local master = yes
workgroup = PROCESS
os level = 99
add user script = /usr/sbin/useradd %u
add machine script=/usr/sbin/useradd -g machines -c Machine -s /bin/false %u
security = user
preferred master = yes
#domain admin group = @samadm
domain logons = yes
smb passwd file = /etc/samba/smbpasswd
hide unreadable = yes
vfs objects = full_audit
full_audit:failure = none
full_audit:success = mkdir rename unlink rmdir open pwrite
full_audit:prefix = %u|%I|%m|%S

[netlogon]
path = /mnt/data1/netlogon
public = no
browsable = no
read only = yes
guest ok = yes
admin users = root


And else are shares so I dont paste here!

Any help would be greatly appreciated!! Thank you very much!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] setuids mount option broke

2010-05-29 Thread Derek Simkowiak

> /Does it work if you change 'setuids' to 'suid'?/

   No.  Using "suid", the behavior is identical as "setuids".

   I was hoping to use either Samba over SSH, or else sshfs (Fuse), for 
mounting these remote home dirs using SSH.  But Samba's "setuids" option 
is broke, and sshfs doesn't even have that option.  Thus, I was forced 
to set up an OpenVPN server and mount the homes with NFS over OpenVPN.  
NFS sucks, and I hope the setuids option comes back. 

   Getting offtopic, but for the archives: I had to use the NFS mount 
options "soft,udp,retrans=0" so that I could log in if the VPN went 
down.  With those options, there's only a ~4 second delay before the NFS 
gives up with an error.  If you leave set it to "tcp", your SSH shell 
will lock up for 5 minutes (when you log in and it tries to read 
~/.bashrc), another 5 minutes if you accidentally type "ls", and another 
5 minutes if you hit [TAB] and it tries to do command-line completion 
for you.  You can tweak your TCP timeouts, but do you really want to 
tweak TCP settings just to make NFS fail in a reasonable fashion (and 
thus possibly break everything else)?  And if you leave it at the 
default "hard" instead of "soft", the system will lock up indefinitely 
when you log in (trying to read ~/.bashrc).


   I love OpenVPN, but installing, configuring, generating certs, 
copying certs to the client, testing, setting up monitoring, etc. was a 
couple hours of work, compared to 5 minutes setting up an SSH tunnel 
with my pre-existing key... and yet, OpenVPN was still less work than 
trying to tunnel NFS over SSH (thanks to dynamic RPC ports, lockd, etc.).



Thanks,
Derek

On 05/29/2010 05:11 AM, Scott Lovenberg wrote:



On Fri, May 28, 2010 at 4:12 PM, Derek Simkowiak > wrote:


  I can mount it using these options in /etc/fstab... note the use
of "setuids" here:

//cst6/testhome /testhome cifs
iocharset=utf8,credentials=/root/cst6_password.txt,setuids 0 0

Does it work if you change 'setuids' to 'suid'?

  Is there anything else I can try?  Looking at this earlier post,
it seems like maybe "setuids" is not even a supported option
anymore...?

http://lists.samba.org/archive/linux-cifs-client/2010-March/005600.html

The client code has been moved out of the samba package recently.  In 
the current release of the client (the client is now released 
separately from the samba suite, but the two aren't in sync yet) the 
setuid functionality is deprecated (but can still be enabled at 
compile time).  At the moment the option is being called 'legacy'; I 
don't know if the functionality is being dropped or 
upgraded/redesigned, though.



--
Peace and Blessings,
-Scott.



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


Re: [Samba] unable to join to a Samba4 domain

2010-05-29 Thread Lukasz Zalewski

On 29/05/2010 19:17, Tomasz Chmielewski wrote:

Am 29.05.2010 20:15, Lukasz Zalewski wrote:


Unfortunately, Windows XP SP3 fails to join a Samba4 domain as well.

How can I troubleshoot it?



Are both the samba4 and client machine on the same subnet? If not are
there any firewalls, or routers in the way?


Same subnet, no firewalls or routers on the way.





Is your client dns configuration pointing explicitly at samba4


Yes.




Hmm this is mostly odd,
are you using FQDN to join the domain?

Can you resolve all of the samba4 generated dns records externally 
(http://wiki.samba.org/index.php/Samba4/HOWTO Configure DNS section), 
such as

host -t SRV _ldap._tcp.samdom.example.com.
.
.
.


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


Re: [Samba] NetShareEnum counterpart

2010-05-29 Thread tms3



SNIP

I am searching for a Samba counterpart of the Windows API function
NetShareEnum
http://msdn.microsoft.com/en-us/library/bb525387%28VS.85%29.aspx - a
function that lists the smb resources of a given server.


smbstatus |more

in a terminal window will give you a start.

man smbstatus for more info.

Cheers,

TMS III



It googled quite a lot and had a quick look on the libsmbclient header
but did not find anything that helped.
`smbclient -L' does what I look for amongst other things ... I am 
unsure

if it is trivial or reusable, though.

Do you know a library that provides such a function or a quick way to
implement it?

Thanks!

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


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


Re: [Samba] unable to join to a Samba4 domain

2010-05-29 Thread Tomasz Chmielewski

Am 29.05.2010 20:15, Lukasz Zalewski wrote:


Unfortunately, Windows XP SP3 fails to join a Samba4 domain as well.

How can I troubleshoot it?



Are both the samba4 and client machine on the same subnet? If not are
there any firewalls, or routers in the way?


Same subnet, no firewalls or routers on the way.



Is your client dns configuration pointing explicitly at samba4


Yes.


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


Re: [Samba] unable to join to a Samba4 domain

2010-05-29 Thread Lukasz Zalewski

On 27/05/2010 09:54, Tomasz Chmielewski wrote:

Am 25.05.2010 21:03, Tomasz Chmielewski wrote:

Am 25.05.2010 20:55, Lukasz Zalewski wrote:


If I block LDAP on UDP, Windows does not send queries to LDAP on
TCP. Is
it the same for you?

And indeed, the error message is the same whether 389/UDP is blocked or
not.



I'n my case if one protocol (TCP or UDP) in that port is enabled things
seem to work. if both are disabled i get the error message. Have you
tried to disable firewall on samba4 host just to rule it out? Presumably
you don't have any other firewalls in the way? I will try to join
Windows 2008 to the domain tomorrow as a test.


There is no firewall between the hosts.

I'll try to test it with Windows XP, but it may take 1-2 days before I'm
able to do it.


Unfortunately, Windows XP SP3 fails to join a Samba4 domain as well.

How can I troubleshoot it?




Are both the samba4 and client machine on the same subnet? If not are 
there any firewalls, or routers in the way?

Is your client dns configuration pointing explicitly at samba4

Regards

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


Re: [Samba] Trouble joining Windows 7 machines to Samba PDC

2010-05-29 Thread David Adam
On Mon, 15 Mar 2010, David Adam wrote:
> We have a domain controller running Samba 3.4.5 that is backed onto an 
> OpenLDAP datastore. The domain has no trouble joining Windows XP clients, 
> but we've got a couple of Windows 7 / Windows Server 2008 R2 Standard that 
> we can't join to the domain.
> 
> The registry changes suggested in 
> http://wiki.samba.org/index.php?title=Windows7&oldid=4766 have been 
> applied, and a UNIX account for the machine has been created.
> 
> While the creation of the object in LDAP appears to succeed, the join 
> fails with super-helpful message "The parameter is incorrect" on the 
> client.

For the archives, I reported this as bug 7395 - as discussed, it appears 
that Windows 7 has tightened up a bit on valid SIDs and we somehow had an 
invalid one, possibly due to an endianness issue in an old version of Samba.

Replacing our SID that started with S-1-5-352321536 with S-1-5-21 solved 
all our problems.

David Adam
zanc...@ucc.gu.uwa.edu.au

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


[Samba] NetShareEnum counterpart

2010-05-29 Thread Leon Merten Lohse

Hello,

I am searching for a Samba counterpart of the Windows API function 
NetShareEnum 
http://msdn.microsoft.com/en-us/library/bb525387%28VS.85%29.aspx  - a 
function that lists the smb resources of a given server.


It googled quite a lot and had a quick look on the libsmbclient header 
but did not find anything that helped.
`smbclient -L' does what I look for amongst other things ... I am unsure 
if it is trivial or reusable, though.


Do you know a library that provides such a function or a quick way to 
implement it?


Thanks!

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


Re: [Samba] setuids mount option broke

2010-05-29 Thread Scott Lovenberg
On Sat, May 29, 2010 at 8:11 AM, Scott Lovenberg
wrote:

>
>> The client code has been moved out of the samba package recently.  In the
> current release of the client (the client is now released separately from
> the samba suite, but the two aren't in sync yet) the setuid functionality is
> deprecated (but can still be enabled at compile time).  At the moment the
> option is being called 'legacy'; I don't know if the functionality is being
> dropped or upgraded/redesigned, though.
>
> Sorry, I should have been more clear about this.  I'm referring to the
mount.cifs (cifs-utils) part of the client, not the whole samba client.



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


Re: [Samba] setuids mount option broke

2010-05-29 Thread Scott Lovenberg
On Fri, May 28, 2010 at 4:12 PM, Derek Simkowiak  wrote:
>
>   I can mount it using these options in /etc/fstab... note the use of
> "setuids" here:
>
> //cst6/testhome /testhome cifs
> iocharset=utf8,credentials=/root/cst6_password.txt,setuids 0 0
>
> Does it work if you change 'setuids' to 'suid'?

  Is there anything else I can try?  Looking at this earlier post, it seems
> like maybe "setuids" is not even a supported option anymore...?
>
> http://lists.samba.org/archive/linux-cifs-client/2010-March/005600.html
>
> The client code has been moved out of the samba package recently.  In the
current release of the client (the client is now released separately from
the samba suite, but the two aren't in sync yet) the setuid functionality is
deprecated (but can still be enabled at compile time).  At the moment the
option is being called 'legacy'; I don't know if the functionality is being
dropped or upgraded/redesigned, though.


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


Re: [Samba] ARGH... once again samba causes "permission" errors.

2010-05-29 Thread Christian PERRIER
Quoting Jeff Wiegley (je...@csun.edu):

> Before we start let's clear up some common misunderstandings: I have
> googled for the answer. I have spent the last six hours doing so and trying
> various "suggestions". Most of these suggestions point to solutions
> involving chown or chmod.  These are not the problems (or I will be
> very surprised).

Some more info (and less ranting) would help:

- samba version
- logs on the samba server side when you experience these problems



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


[Samba] iconv issues with samba-3.2.15

2010-05-29 Thread samba user
Hello Experts:

I upgraded from 3.0.25 to 3.2.15 - the compilation went thru fine but I get
segmentation fault during runtime. It dumps core when function lp_load_ex
(in file param/loadparm.c) calls init_iconv().

I'm using GCC 4.3.3 to compile samba.

I tried google search but couldn't find anything relevant. Can somone please
suggest what could be going wrong.

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


[Samba] ARGH... once again samba causes "permission" errors.

2010-05-29 Thread Jeff Wiegley

I've been doing unix sys. admin for nearly 20 years and yet EVERY single
time I have to setup samba I have configuration problems.

Before we start let's clear up some common misunderstandings: I have
googled for the answer. I have spent the last six hours doing so and trying
various "suggestions". Most of these suggestions point to solutions
involving chown or chmod.  These are not the problems (or I will be
very surprised).

# cat /etc/samba/smb.conf
[global]
workgroup = CYTE.COM
server string = CyteNAS
netbios name = NAS
hosts allow = 127., 10.0.10.

[nas]
comment = NAS
path = /mnt/nas
force user = nas
force group = nas
read only = No

# cat /etc/samba/smbpasswd
nas:500:75891A0CAAF2F9828AE88C0FE87091EF:E8C4E8E10FEE888764D18AD4A0AC61F5:[U  
]:LCT-4C00625E:


# grep nas /etc/passwd
nas:x:500:500::/mnt/nas:/bin/bash

# grep nas /etc/group
nas:x:500:

# ls -al /mnt/nas
total 16
drwxrwxrwx 2 nas  nas  4096 May 28 17:01 .
drwxrwxrwx 3 root root 4096 May 28 15:04 ..

So before you tell me about "permission" problems please note the following
  1) The permissions on all the files is 777... EVERYBODY can do anything.
  2) samba IS configured to force the user and group to the owner of 
the share

  path anyways.
  3) The group and user exist and they have their passwords configured
   correctly.

I can map the share on my Windows 7 workstation. But any attempt to
create anything yields a pop-up window that says:

"You need permission to perform this action"
  nas(\\NAS)
  Space free: 89.7 GB
  Total size: 97.0 GB

Why am I getting ANY permission problems??? Frankly. I don't think it is
a permission problem. (I set log level to 10; the output is long so I won't
include it because I looked through it and didn't see any errors reported
or any mention of permission denied.)

GRRR!

It gets worse. a 90GB NAS storage is pretty useless. The NAS is actually
a 6TB Raid5 array with an XFS filesystem. But if I actually mount it

# /etc/init.d/smb stop
# mount /mnt/nas
# ls -al /mnt/nas
total 8
drwxrwxrwx 2 nas  nas 6 May 28 18:11 .
drwxrwxrwx 3 root root 4096 May 28 15:04 ..

see... no difference in permissions or ownership but now it is a mount
point.

Now I can't even map the samba share at all. All I get is a window
that says:

   "Attemping to connect to \\NAS\nas"
  (Cancel)

And it never seems to go away.

and yes, under both cases I can simply login as the user nas via
ssh and touch/mkdir or do anything I want and the files get created
just fine. Frankly I think this is another case of Windows presenting
the user with a misleading diagnostic "Permission" problem when
something much more fundamental is going wrong with Samba.

Please help.

- Jeff

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


Re: [Samba] setuids mount option broke

2010-05-29 Thread Muqtadir Kamal
hi

i am newly in linux i am using Centos 5.5, I need help to create LDAP+Samba
for windows clients, if any buddy have good stuff please send it to
smkamal2...@gmail.com.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba