Re: [Samba] Problems adding a printer share

2007-06-22 Thread Michael Powell
Thanks to everyone for their assistance!  This turned out to be the final 
hurdle.  The MS link is no longer, but as luck would have it, I had a copy of 
the patch.  I installed it, and Windows was able to find the printer!

Thanks again!

On Thu, 21 Jun 2007 18:54:05 -0400
Chris Smith <[EMAIL PROTECTED]> wrote:

> On Thursday 21 June 2007, Michael Powell wrote:
> > Windows still can't find the printer
> 
> Win9x needs a patch to be able to print via IPP, see:
> 
> http://www.digitalissues.co.uk/html/os/ms/ipp.html#6
> 
> Once the patch is installed then you can add the printer (a manual process - 
> it wont show up in a browse list unless you involve Samba in the process).
> 
> Chris
> -- 
> 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


[Samba] Samba-4.0? (waiting to replace SBS2000 AD domain controller)

2007-06-22 Thread Jeff Kowalczyk
I support some organizations using Microsoft Small Business Server 2000,
with relatively simple Active Directory domains.

AFAICT, they use simple printer and server file shares for Windows 9x and
2K and XP clients, the centralized user accounts with server-mapped home
directories, and not many other features of a domain.

I want to plan a migration away from Microsoft Domain Controllers
ASAP. I'm motivated by disaster-recovery and routine management concerns.
I'd sleep much better with configuration in /etc plaintext files, rather
than some binary registry theoretically backed up on tape.

I think I'm obliged to wait for Samba-4.0, and would like to read as much
about the planned domain controller capabilities as possible. Is anyone
blogging Samba-4.0 development in detail?

http://news.samba.org/ has no 4.0 mention since 2007-01-31. I'm reading
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_4_0/WHATSNEW.txt?rev=23373&view=auto
for information.

Thanks.

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


[Samba] Re: samba Digest, Vol 54, Issue 24

2007-06-22 Thread paul
Hello,

I am out of the office from Thursday June 14th until Tuesday June 26th.  I will 
get back to you as soon as I can.

Thanks,
~Paul


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


Re: [Samba] Help with smbmount

2007-06-22 Thread Barry Stear
Hello anyone out there going to help me??


--- Barry Stear <[EMAIL PROTECTED]> wrote:

> I am trying to mount another linux samba mount on my
> linux machine. I can only mount using root account
> and
> when i do this the permissions for the samba mount
> are
> all owned by group root and user root. I want to
> have
> rw access to this by myself. I have even specified
> in
> the options of smbmount a uid and gid but still no
> luck. 
> 
> 
> 
> 
> 
>  
>

> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo!
> Answers users.
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> https://lists.samba.org/mailman/listinfo/samba
> 



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Ryan Neufeld

Jeremy,

Could you post the change any way? I am running a mixed client shop here;
Linux file server, windows xp/vista clients

--Thanks



On 6/22/07, Jeremy Allison <[EMAIL PROTECTED]> wrote:


On Fri, Jun 22, 2007 at 10:30:18PM +0100, Alex Crow wrote:
>
> >
> > Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
> > module.
> >
> > Jeremy.
>
> Jeremy, Andrew
>
> I think from the context that Andrew has already tried that - at work we
have decided that Vista simply isn't worth the hassle now.
>
> We can't even manage to get Vista on a new laptop to get an IP address
from DHCP, never mind connect to our Samba DC!
>
> Everything else can get an IP (3com and Cisco switches, Mitel IP phones,
XP, Solaris, *BSD, etc). Something is fundamentally broken in Vista's
network stack IMHO.

Was the server Linux based ? The readahead module improved
the Vista problem on Linux according to my tests, but one of
our OEM's made some kernel changes to their version of Linux
to help the problem more. I can post the change if needed.

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





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


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Jeremy Allison
On Fri, Jun 22, 2007 at 10:30:18PM +0100, Alex Crow wrote:
> 
> > 
> > Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
> > module.
> > 
> > Jeremy.
> 
> Jeremy, Andrew
> 
> I think from the context that Andrew has already tried that - at work we have 
> decided that Vista simply isn't worth the hassle now.
> 
> We can't even manage to get Vista on a new laptop to get an IP address from 
> DHCP, never mind connect to our Samba DC!
> 
> Everything else can get an IP (3com and Cisco switches, Mitel IP phones, XP, 
> Solaris, *BSD, etc). Something is fundamentally broken in Vista's network 
> stack IMHO.

Was the server Linux based ? The readahead module improved
the Vista problem on Linux according to my tests, but one of
our OEM's made some kernel changes to their version of Linux
to help the problem more. I can post the change if needed.

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


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Alex Crow

> 
> Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
> module.
> 
> Jeremy.

Jeremy, Andrew

I think from the context that Andrew has already tried that - at work we have 
decided that Vista simply isn't worth the hassle now.

We can't even manage to get Vista on a new laptop to get an IP address from 
DHCP, never mind connect to our Samba DC!

Everything else can get an IP (3com and Cisco switches, Mitel IP phones, XP, 
Solaris, *BSD, etc). Something is fundamentally broken in Vista's network stack 
IMHO.

Cheers

Alex


 

-- 
This message is intended only for the addressee and may contain 
confidential information.  Unless you are that person, you may not 
disclose its contents or use it in any way and are requested to delete 
the message along with any attachments and notify us immediately. 

"Transact" is operated by Integrated Financial Arrangements plc 
Domain House, 5-7 Singer Street, London  EC2A 4BQ 
Tel: (020) 7608 4900 Fax: (020) 7608 1200
(Registered office: as above; Registered in England and Wales under
number: 3727592) 
Authorised and regulated by the Financial Services Authority (entered on
the FSA Register; number: 190856)


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


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Jeremy Allison
On Fri, Jun 22, 2007 at 11:29:16AM +1000, Andrew Cook wrote:
> Hi All,
> 
> I've got some performance issues with Samba and Vista that I just can't 
> seem to figure out. Googling and fiddling has all been in vain up until 
> now, so I'm not sure what I can do other than wait for Samba 4, but 
> maybe someone here can find something I've missed.
> 
> First off, the server is an Athlon 64 1.8GHz running Gentoo 2006.1, 
> tested with both Samba 3.0.24 and 3.0.25a. Gigabit network is handled by 
> the onboard nForce controller, and it's got a software RAID 5 setup that 
> has been running fine for months.
> 
> The client is a dual core Windows box with a PCI-Express gigabit card. 
> Netperf pegs the network at 100Mbytes/sec, so there's no problems there. 
> Transfers via FTP on both Windows XP and Vista work out around about 
> 55Mbytes/sec consistently, and SMB transfers under Windows XP also top 
> out around 50-55Mbytes/sec, which seems to be the limit of the I/O on 
> the client.
> 
> Vista however, no matter what I do, will not read from Samba shares at 
> any more than around 5Mb/s when copying with Explorer. I timed a few 
> different file copies between XP and Vista, and it's consistently ten 
> times slower every time. Write speeds seem a lot better (20-30Mb/s). 
> This happens with both Samba 3.0.24 and 3.0.25a. I've tried with the VFS 
> readahead both on and off. I've tried with NetBIOS over TCP/IP both on 
> and off. It's worth noting that if I use the copy command via the 
> command prompt, read speeds jump to around 8-9Mb/s, but it's still 
> pretty poor.

Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
module.

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


Re: [Samba] LTSP and Samba

2007-06-22 Thread Adam Tauno Williams
> I have a question about the possibility of integration of LTSP and
> Authentication over Samba.
> Its possible to have a LTSP server who authenticate the user on a Samba PDC

Of course, the LTSP server is a LINUX box.  GDM/XDM authenticate users
via PAM.

> box and this samba box retrieves these information from an ldap server who
> will hold all the users information ?

Of course, Samba can use an LDAP SAM.  Although one would wonder why you
would want to introduce Samba here.  Just authenticate users via LDAP
directly.

> And what are the best configuration for a pc to use samba for this prupose
> for about 60 users ?

An LTSP server to support 60 users?  Or a Samba server to support sixty
users?

An LTSP server - A WHOLE LOT OF POWER!
A Samba server - depends on the users, but you might be able to get by
with surprisingly little.

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org

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


[Samba] LTSP and Samba

2007-06-22 Thread Maginot Junior

Hi!

I have a question about the possibility of integration of LTSP and
Authentication over Samba.
Its possible to have a LTSP server who authenticate the user on a Samba PDC
box and this samba box retrieves these information from an ldap server who
will hold all the users information ?


And what are the best configuration for a pc to use samba for this prupose
for about 60 users ?



--
Maginot Júnior
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] two questions about samba

2007-06-22 Thread Chris Smith
On Friday 22 June 2007, Jack Mendez wrote:
> I would like to deny users access to the pdc based on the hostname.
> so if username1 logs into computer1, that is allowed, if the user logs of,
> and goes on to computer2, it will be denied because computer2 is a staff
> machine

I don't think this is valid with the smbpasswd backend With but a tdbsam 
backend you can use:

net sam set workstations

Ldap has a entry for this as well (don't know it off the top of my head).

> we have students that will sometimes try to use staff machines and i want
> the login to fail.

> i have lots of log entries that look like.

Hmmm...don't know what those entries have to do with it.

Chris

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


[Samba] two questions about samba

2007-06-22 Thread Jack Mendez
I would like to deny users access to the pdc based on the hostname.
so if username1 logs into computer1, that is allowed, if the user logs of,
and goes on to computer2, it will be denied because computer2 is a staff
machine
we have students that will sometimes try to use staff machines and i want
the login to fail.
i have lots of log entries that look like.


[2007/06/21 15:44:44, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2007/06/21 15:44:44, 2] auth/auth_util.c:create_local_nt_token(899)
  create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2007/06/21 15:44:44, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
  create_local_nt_token: Failed to create BUILTIN\Users group!
the system is working fine but the logs are filling up with this data.

ideas?


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


Re: [Samba] SWAT says nmbd not running when it is

2007-06-22 Thread Helen Nulty

In case anyone was wondering about this one...

we were using
socket address = x.x.x.x

Once we let this default to use all addresses, the status of nmbd in 
SWAT was correctly displayed.


Question for the group:
	Is any performance improvement realized by specifying the socket 
address?


Helen

Helen Nulty wrote:


We are running
Version 3.0.25a-SerNet-RedHat

In SWAT nmbd shows as "not running" when in fact it is.

Is this a possible misconfiguration on our part or a bug?

Helen



--
Helen P. Nulty
Systems Analyst
UNC-CH School of Public Health
Instructional & Information Systems
CB# 7400
Chapel Hill, NC  27599
ph:  919-966-9136
email:  [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: [3.0.23d] Subdirectories of share root appear empty (sometimes)

2007-06-22 Thread James Farmer

Jeremy Allison wrote:

I don't suppose you could try 3.0.25 could you ? I re-wrote most
of the DFS code for this release - and this type of thing definately
sounds like a DFS bug.


Thanks for your quick answer; I've had to wait until Friday evening
to install the update when the fileserver isn't been used, I've done
so now and I'll let you know how it goes.  Fingers crossed!

James.

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


[Samba] still having printer problems.

2007-06-22 Thread Jay G. Scott

greetings,

my hp 2605dn printer using samba as a print spooler from solaris 10
won't print from XP, 2000.  i've convinced myself that the windoze
boxes ship the print job off to the samba print spooler, but the
samba print spooler bitbuckets it.

samba 3.0.21b  (sun's)
solaris 10
printer = hp2605dn
windows xp, 2000.
using bsd protocol.

ping works everywhere, nslookup gives the right answers everywhere.
samba file shares work.  there is no firewall set up.  these
machines aren't on the internet, never have been, no plan to
put them there.

solaris "lp filename" works--the print comes out.

if i use the solaris smbclient i can put files to the printer
and they do print.

this works from the windows box:
echo hiya^L > \\solarishost\hp2605

i'm guessing that only works because it's not using samba.
or do i not know what i'm talking about.


on the windows box i can send print jobs (say, from word) and the printer status
box says they are spooling.  The jobs leave the window and
it looks like the print job worked.  but nothing comes out
of the printer--it looks like no bytes are sent to the printer.

test page printouts from the printer properties pulldown
do not work.  there is no indication of an
error on the windows side.  there is no indication of anything
getting into the queue on the solaris side, but it's possible
it's going by too fast--though i doubt it.

it really looks like samba on solaris is collecting the bytes
from the windows boxes and throwing them away.  i have a "switch"
(it's probably just a hub) but the lights to the printer don't flicker.
i never see anything in
lpstat -t
lpstat -o
should i?  this machine is the print spooler so would the file
go to the print spooler first and then to the printer?  if so,
the flickering lights tell me the file goes to the spooler and
is tossed out.  is there a way to check that?

there is no WINS server set up in the printer.  the printer
has a dns server, netmask, gateway  and they are all
what i set them to be.

aahhh, there seems to be a cadre of people who think using cups
will fix this.  i have a very slight preference to fixing this
w/o cups just to prove i can get it right, but i'm willing to use
cups if that's what it takes.

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


Re: [Samba] idmap_ad Integration with Windows 2003 pre-R2

2007-06-22 Thread simo
On Fri, 2007-06-22 at 08:42 -0700, S Murthy Kambhampaty wrote:
> Simo, thanks for the info on the configuration syntax.  
> 
> I'm still uncertain whether the rfc2307-related AD schema extensions
> in Windows 2003  are  compatible with Samba, or  the  R2 schema update
> is needed.  When I  use idmap_ad in our Win2k3 environment, on `getent
> passwd` winbind logs an error of  "ads_check_posix_schema_mapping:
> failed NT_STATUS_NONE_MAPPED" at
> libads/ldap_schema.c:ads_check_posix_schema_mapping(243), which
> suggests that the AD schema does not have the particular uid/gid
> attribs that winbind is looking for.  Could this be due to differences
> in the schema between the pre-R2 and R2 versions of the AD schema in
> Win 2k3?

It depends, what schema are you using?
We support sfu or rfc2307(R2)

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: [EMAIL PROTECTED]
http://samba.org

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


[Samba] Help with smbmount

2007-06-22 Thread Barry Stear
I am trying to mount another linux samba mount on my
linux machine. I can only mount using root account and
when i do this the permissions for the samba mount are
all owned by group root and user root. I want to have
rw access to this by myself. I have even specified in
the options of smbmount a uid and gid but still no
luck. 





 

Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] One file open or locked way too many times. How to fix?

2007-06-22 Thread Gary MacKay
A Windows 2000 Server is a member server of the domain. The domain 
server is CentOS 4.5 with all updates and Samba 3.0.24 built using the 
packaging/RHEL/makerpms.sh script. The W2k server is opening this file 
on the samba server.


This problem started several versions of CentOS and Samba ago, and I did 
the upgrades thinking it would fix it. It did not.


It seems to be "locking" or "opening" a file zillions of times and then 
finally starts throwing errors about "Too Many Files Open". I have all 
of the kernel, level2, and oplocks set to 'no' in the smb.conf file.


The FD column starts out at 1uw and just grows until it reaches whatever 
'open file' value I put in the /proc/sys/fs/file-max setting. Rebooting 
the W2k server or restarting samba fixes the problem for awhile. Never 
the same amount of time. Sometime it lasts days or weeks, other times 
only a few hours.




smbd   4803root  256uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  257uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  258uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  259uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  260uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  261uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  262uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  263uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  264uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  265uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  266uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  267uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  268uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  269uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  270uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  271uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  272uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF
smbd   4803root  273uw REG8,2   1825128393 
/usr/local/samba/fo/Goldmine/SyncLock.DBF





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


Re: [Samba] idmap_ad Integration with Windows 2003 pre-R2

2007-06-22 Thread S Murthy Kambhampaty
Simo, thanks for the info on the configuration syntax.  

I'm still uncertain whether the rfc2307-related AD schema extensions in Windows 
2003  are  compatible with Samba, or  the  R2 schema update is needed.  When I  
use idmap_ad in our Win2k3 environment, on `getent passwd` winbind logs an 
error of  "ads_check_posix_schema_mapping: failed NT_STATUS_NONE_MAPPED" at  
libads/ldap_schema.c:ads_check_posix_schema_mapping(243), which suggests that 
the AD schema does not have the particular uid/gid attribs that winbind is 
looking for.  Could this be due to differences in the schema between the pre-R2 
and R2 versions of the AD schema in Win 2k3?

Thanks,
   Murthy

- Original Message 
From: simo <[EMAIL PROTECTED]>
To: S Murthy Kambhampaty <[EMAIL PROTECTED]>
Cc: samba@lists.samba.org
Sent: Friday, June 22, 2007 10:28:29 AM
Subject: Re: [Samba] idmap_ad Integration with Windows 2003 pre-R2

On Thu, 2007-06-21 at 10:55 -0700, S Murthy Kambhampaty wrote:
> Is then new idmap_ad module capable of getting uid/gid info from a Windows 
> 2003 AD pre-R2 with RFC2307 Unix Identity Mapping Extensions applied?
> 
> Also, is the correct syntax for specifying the schema_mode as follows:
>  idmap config dom.example.com:schema_mode = rfc2307

Right now we support only the short domain name, not the FQDN domain name,
all the rest is like you said.

Simo.

> 
> 
> Simo Sorce
> Samba Team GPL Compliance Officer
> email: [EMAIL PROTECTED]
> http://samba.org






 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Profile deleted

2007-06-22 Thread Rex Dieter

Mario Gzuk wrote:

Am Freitag, den 22.06.2007, 06:49 -0500 schrieb Rex Dieter:



Is this normal?

Yes, Guest account profiles are not persistent (ie, reset on every login).



No, the profile is persistent until you add this account to a local
group. The M$ documentation says the same as you, but that is not
correct for domain-guests, so this behavior is completely strange


For machines that are part of a domain, Domain Guests are (by default) 
members of the local Guests group, and for *me*, Domain Guest profiles 
get wiped.  Dunno why/how it's different for you.


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


Re: [Samba] idmap_ad Integration with Windows 2003 pre-R2

2007-06-22 Thread simo
On Thu, 2007-06-21 at 10:55 -0700, S Murthy Kambhampaty wrote:
> Is then new idmap_ad module capable of getting uid/gid info from a Windows 
> 2003 AD pre-R2 with RFC2307 Unix Identity Mapping Extensions applied?
> 
> Also, is the correct syntax for specifying the schema_mode as follows:
>  idmap config dom.example.com:schema_mode = rfc2307

Right now we support only the short domain name, not the FQDN domain name,
all the rest is like you said.

Simo.

> 
> 
> Simo Sorce
> Samba Team GPL Compliance Officer
> email: [EMAIL PROTECTED]
> http://samba.org

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


Re: [Samba] Re: Profile deleted

2007-06-22 Thread Mario Gzuk
Am Freitag, den 22.06.2007, 06:49 -0500 schrieb Rex Dieter:
> Mario Gzuk wrote:
> 
> > Hi,
> > strange things or normal behavior? We have a samba domain and
> > "Domain-guests" accounts that are limited to log on to only some
> > machines, on this machines the "Domain-guests" are in the lokal admin
> > group.
> ...
> > 3.) log on again with this "Domain-guests" account -> all data and all
> > settings are gone. I was not able to find any of the files stored in
> > this account (under "Documents and Settings") and all settings are set
> > to the default.
> > 
> > Is this normal?
> 
> Yes, Guest account profiles are not persistent (ie, reset on every login).
> 
> -- Rex
> 

No, the profile is persistent until you add this account to a local
group. The M$ documentation says the same as you, but that is not
correct for domain-guests, so this behavior is completely strange

But dont think about that any more. It is as it is, and I dont think
that M$ will correct such damn things

greetz mario

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


[Samba] idmap_rid - bug or documentation issue?

2007-06-22 Thread S Murthy Kambhampaty
I was having some trouble getting identity mapping correct while integrating 
Samba into a Windows 2003 (pre-R2) environment using the idmap_rid module, that 
took a while to figure out because of the segfault in 3.0.25a when using the 
old configuration syntax.  The bottom line is that if the selected base_rid is 
greater than an AD RID, then identity mapping fails.  It turns out that in our 
environment the RID for the target group was less than 1000, so the 
configuration borrowed from the example in the manpage of idmap_rid was 
incorrect.  Fortunately, there were some domain users that were not in the 
target group, which, taken together with the fact that the old config syntax in 
3.0.24 was producing valid id maps with an implied base_rid of 0, exposed the 
workaround.  

So the question is whether the example in the manpage can be changed to make 
base_rid 0.  Come to think of it, what is the purpose of base_rid?

Thanks,
   Murthy 



   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] idmap_ad Integration with Windows 2003 pre-R2

2007-06-22 Thread S Murthy Kambhampaty
Is then new idmap_ad module capable of getting uid/gid info from a Windows 2003 
AD pre-R2 with RFC2307 Unix Identity Mapping Extensions applied?

Also, is the correct syntax for specifying the schema_mode as follows:
 idmap config dom.example.com:schema_mode = rfc2307

(I am not confident that I am reading the idmap_ad manpage and the new idmap 
document correctly.)

Thanks for the help,
   Murthy




   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] modification time inconsistency

2007-06-22 Thread Carlos Knowlton

Hello,

I have a client with a windows utility that relies on "touch"ing 
(changing the mod time) on zero-length files in a folder for the purpose 
of judging when that folder was last accessed.  This works fine for him 
on mapped windows servers, and from the local disk, but from a Samba 
(v3.0.22) volume, the mod time doesn't change unless there was an actual 
data change within the file.  (ie, clicking "save" in notepad doesn't 
change the mod time unless he enters some data first.).  I know this 
seems pretty trivial, but it seems to make all the difference for some 
backup and SCADA software packages.


Any ideas what I could do to fix this?

This is what the smb.conf looks like:

[global]
   security = user
   netbios name = Server1
   server string = Server1
   workgroup = WG
   comment = File Server
   os level = 1
   create mode = 771
   force create mode = 771
   directory mode = 771
   force directory mode = 771
   force user = administrator
   force group = users
   map to guest = Bad User
   null passwords = Yes
   passdb backend = tdbsam, smbpasswd
   case sensitive = No
   username map = /etc/samba/smbusers
   template shell = /bin/bash
   dont descend = /proc,/dev,/etc,/usr
   winbind cache time = 10
   log level = 1
   max log size = 2000

[Public]
   writeable = yes
   only user = yes
   write list = @Public
   path = /home/users/Public
   comment = Public Share
   valid users = @Public
   user = @Public  



Thank you!
Carlos Knowlton

PS,  I'm not on the list, so please CC my return address in your 
response, thanks!

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


[Samba] Samba hangs Pl. Help!!!!!! :(

2007-06-22 Thread Inderpal Singh BAWA
Hi!! Experts

I am running Samba on Red Hat Enterprise Linux WS release 3 (Taroon Update 8) 
and users are using thru winodows work station and intermittently their access 
hangs, below are the messages from /var/log/messages

Pl. help

 Jun 19 09:29:08 dlhl0211 automount[2028]: failed to mount /scratch/*
Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] 
lib/fault.c:fault_report(36)
Jun 19 09:29:28 dlhl0211 smbd[1298]:   
===
Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] 
lib/fault.c:fault_report(37)
Jun 19 09:29:28 dlhl0211 smbd[1298]:   INTERNAL ERROR: Signal 7 in pid 1298 
(3.0.9-1.3E.9)
Jun 19 09:29:28 dlhl0211 smbd[1298]:   Please read the appendix Bugs of the 
Samba HOWTO collection
Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] 
lib/fault.c:fault_report(39)
Jun 19 09:29:28 dlhl0211 smbd[1298]:   
===
Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] 
lib/util.c:smb_panic2(1504)
Jun 19 09:29:28 dlhl0211 smbd[1298]:   PANIC: internal error
Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] 
lib/util.c:smb_panic2(1512)
Jun 19 09:29:28 dlhl0211 smbd[1298]:   BACKTRACE: 20 stack frames:
Jun 19 09:29:28 dlhl0211 smbd[1298]:#0 smbd(smb_panic2+0x10b) [0x2a9570c6cb]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#1 smbd(smb_panic+0xe) [0x2a9570c5ae]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#2 smbd [0x2a956faa29]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#3 /lib64/tls/libc.so.6 [0x2a96d7fa20]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#4 /lib64/tls/libc.so.6(memcpy+0x60) 
[0x2a96dd0740]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#5 smbd [0x2a9571d893]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#6 smbd [0x2a9571e317]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#7 smbd [0x2a9571e714]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#8 smbd(tdb_store+0x108) [0x2a9571f708]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#9 smbd(claim_connection+0x20e) 
[0x2a955cc10e]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#10 smbd [0x2a9561705e]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#11 smbd(make_connection+0xf9) 
[0x2a95617e99]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#12 smbd(reply_tcon_and_X+0x1bd) 
[0x2a955e653d]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#13 smbd [0x2a956150de]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#14 smbd [0x2a956152aa]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#15 smbd(process_smb+0x8d) 
[0x2a9561547d]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#16 smbd(smbd_process+0x147) 
[0x2a95616197]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#17 smbd(main+0x3e7) [0x2a95778fd7]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#18 
/lib64/tls/libc.so.6(__libc_start_main+0xd7) [0x2a96d6d1d7]
Jun 19 09:29:28 dlhl0211 smbd[1298]:#19 smbd [0x2a955c09aa]
Jun 19 09:29:28 dlhl0211 smbd[1298]:
Jun 19 09:29:36 dlhl0211 smbd[1843]: [2007/06/19 09:29:36, 0] 
smbd/dfree.c:disk_free(138)
Jun 19 09:29:36 dlhl0211 smbd[1843]:   WARNING: dfree is broken on this system
Jun 19 09:20:15 dlhl0211 smbd[1241]:   tdb(/etc/samba/secrets.tdb):

tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:15 
dlhl0211 smbd[1241]: [2007/06/19 09:20:15, 0]
tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77)

Jun 19 09:20:15 dlhl0211 smbd[1241]:
tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
DLHDC02 in tdb /etc/samba/secrets.tdb
Jun 19 09:20:15 dlhl0211 smbd[1068]: [2007/06/19 09:20:15, 0]
tdb/tdbutil.c:tdb_log(725)
Jun 19 09:20:15 dlhl0211 smbd[1068]:   tdb(/etc/samba/secrets.tdb):
tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:15 
dlhl0211 smbd[1068]: [2007/06/19 09:20:15, 0]
tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77)
Jun 19 09:20:15 dlhl0211 smbd[1068]:
tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
DLHDC02 in tdb /etc/samba/secrets.tdb
Jun 19 09:20:16 dlhl0211 smbd[1094]: [2007/06/19 09:20:16, 0]
tdb/tdbutil.c:tdb_log(725)
Jun 19 09:20:16 dlhl0211 smbd[1094]:   tdb(/etc/samba/secrets.tdb):
tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:16 
dlhl0211 smbd[1094]: [2007/06/19 09:20:16, 0]
tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77)
Jun 19 09:20:16 dlhl0211 smbd[1094]:
tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
DLHDC02 in tdb /etc/samba/secrets.tdb
Jun 19 09:20:17 dlhl0211 smbd[1047]: [2007/06/19 09:20:17, 0]
tdb/tdbutil.c:tdb_log(725)
Jun 19 09:20:17 dlhl0211 smbd[1047]:   tdb(/etc/samba/secrets.tdb):
tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:17 
dlhl0211 smbd[1047]: [2007/06/19 09:20:17, 0]
tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77)
Jun 19 09:20:17 dlhl0211 smbd[1047]:
tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
DLHDC02 in tdb /etc/samba/secrets.tdb

Thanks
Indy

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

[Samba] Samba Guest Accout Issue

2007-06-22 Thread Adam DiCaprio

So, after rebuilding and finding that somehow fixed my intial issue of
failing to connect to the ldap server, I am now having an issue with the
guest account. Any ideas, I've done some searches but haven't been having
any luck. This is on RHEL. Help is greatly appreciated. Thanks in advance.

Maximum core file size limits now 16777216(soft) -1(hard)
get_current_groups: user is in 7 groups: 0, 1, 2, 3, 4, 6, 10
smbd version 3.0.25a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
uid=0 gid=0 euid=0 egid=0
Build environment:
  Built by:[EMAIL PROTECTED]
  Built on:Sun Jun  3 14:16:00 PDT 2007
  Built using: gcc
  Build host:  Linux zimbra1.hfc.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12
23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
  SRCDIR:  /usr/samba-3.0.25a/source
  BUILDDIR:/usr/samba-3.0.25a/source

Paths:
  SBINDIR: /usr/local/samba/sbin
  BINDIR: /usr/local/samba/bin/
  SWATDIR: /usr/local/samba/swat
  CONFIGFILE: /usr/local/samba/lib/smb.conf
  LOGFILEBASE: /usr/local/samba/var
  LMHOSTSFILE: /usr/local/samba/lib/lmhosts
  LIBDIR: /usr/local/samba/lib
  SHLIBEXT: so
  LOCKDIR: /usr/local/samba/var/locks
  PIDDIR: /usr/local/samba/var/locks
  SMB_PASSWD_FILE: /usr/local/samba/private/secrets.tdb
  PRIVATE_DIR: /usr/local/samba/private/

System Headers:
  HAVE_SYS_ACL_H
  HAVE_SYS_CAPABILITY_H
  HAVE_SYS_CDEFS_H
  HAVE_SYS_FCNTL_H
  HAVE_SYS_IOCTL_H
  HAVE_SYS_IPC_H
  HAVE_SYS_MMAN_H
  HAVE_SYS_MOUNT_H
  HAVE_SYS_PARAM_H
  HAVE_SYS_PRCTL_H
  HAVE_SYS_QUOTA_H
  HAVE_SYS_RESOURCE_H
  HAVE_SYS_SELECT_H
  HAVE_SYS_SHM_H
  HAVE_SYS_SOCKET_H
  HAVE_SYS_STATFS_H
  HAVE_SYS_STATVFS_H
  HAVE_SYS_STAT_H
  HAVE_SYS_SYSCALL_H
  HAVE_SYS_SYSLOG_H
  HAVE_SYS_SYSMACROS_H
  HAVE_SYS_TIME_H
  HAVE_SYS_TYPES_H
  HAVE_SYS_UIO_H
  HAVE_SYS_UNISTD_H
  HAVE_SYS_UN_H
  HAVE_SYS_VFS_H
  HAVE_SYS_WAIT_H
  HAVE_SYS_XATTR_H

Headers:
  HAVE_ACL_LIBACL_H
  HAVE_AIO_H
  HAVE_ALLOCA_H
  HAVE_ARPA_INET_H
  HAVE_ASM_TYPES_H
  HAVE_ASM_UNISTD_H
  HAVE_ATTR_XATTR_H
  HAVE_CTYPE_H
  HAVE_DIRENT_H
  HAVE_DLFCN_H
  HAVE_EXECINFO_H
  HAVE_FCNTL_H
  HAVE_FLOAT_H
  HAVE_FNMATCH_H
  HAVE_GLOB_H
  HAVE_GRP_H
  HAVE_GSSAPI_GSSAPI_GENERIC_H
  HAVE_GSSAPI_GSSAPI_H
  HAVE_INTTYPES_H
  HAVE_KRB5_H
  HAVE_LANGINFO_H
  HAVE_LASTLOG_H
  HAVE_LBER_H
  HAVE_LDAP_H
  HAVE_LIMITS_H
  HAVE_LOCALE_H
  HAVE_MEMORY_H
  HAVE_MNTENT_H
  HAVE_NETDB_H
  HAVE_NETINET_IN_H
  HAVE_NETINET_IN_SYSTM_H
  HAVE_NETINET_IP_H
  HAVE_NETINET_TCP_H
  HAVE_NET_IF_H
  HAVE_NSS_H
  HAVE_PWD_H
  HAVE_READLINE_HISTORY_H
  HAVE_READLINE_READLINE_H
  HAVE_RPCSVC_NIS_H
  HAVE_RPCSVC_YPCLNT_H
  HAVE_RPCSVC_YP_PROT_H
  HAVE_RPC_RPC_H
  HAVE_SETJMP_H
  HAVE_SHADOW_H
  HAVE_STDARG_H
  HAVE_STDBOOL_H
  HAVE_STDINT_H
  HAVE_STDIO_H
  HAVE_STDLIB_H
  HAVE_STRINGS_H
  HAVE_STRING_H
  HAVE_SYSCALL_H
  HAVE_SYSLOG_H
  HAVE_TERMIOS_H
  HAVE_TERMIO_H
  HAVE_TIME_H
  HAVE_UNISTD_H
  HAVE_UTIME_H
  HAVE_VALGRIND_MEMCHECK_H
  HAVE_VALGRIND_VALGRIND_H

UTMP Options:
  HAVE_GETUTMPX
  HAVE_UTMPX_H
  HAVE_UTMP_H
  HAVE_UT_UT_ADDR
  HAVE_UT_UT_EXIT
  HAVE_UT_UT_HOST
  HAVE_UT_UT_ID
  HAVE_UT_UT_NAME
  HAVE_UT_UT_PID
  HAVE_UT_UT_TIME
  HAVE_UT_UT_TV
  HAVE_UT_UT_TYPE
  HAVE_UT_UT_USER
  PUTUTLINE_RETURNS_UTMP
  WITH_UTMP

HAVE_* Defines:
  HAVE_ADDRTYPE_IN_KRB5_ADDRESS
  HAVE_AP_OPTS_USE_SUBKEY
  HAVE_ASPRINTF
  HAVE_ASPRINTF_DECL
  HAVE_ATEXIT
  HAVE_BACKTRACE_SYMBOLS
  HAVE_BER_SCANF
  HAVE_BOOL
  HAVE_BZERO
  HAVE_C99_VSNPRINTF
  HAVE_CAP_GET_PROC
  HAVE_CHMOD
  HAVE_CHOWN
  HAVE_CHROOT
  HAVE_COMPARISON_FN_T
  HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
  HAVE_CONNECT
  HAVE_CREAT64
  HAVE_CRYPT
  HAVE_DECL_ASPRINTF
  HAVE_DECL_RL_EVENT_HOOK
  HAVE_DECL_SNPRINTF
  HAVE_DECL_VASPRINTF
  HAVE_DECL_VSNPRINTF
  HAVE_DEVICE_MAJOR_FN
  HAVE_DEVICE_MINOR_FN
  HAVE_DIRENT_D_OFF
  HAVE_DLCLOSE
  HAVE_DLERROR
  HAVE_DLOPEN
  HAVE_DLSYM
  HAVE_DUP2
  HAVE_ENDMNTENT
  HAVE_ENDNETGRENT
  HAVE_ERRNO_DECL
  HAVE_EXECL
  HAVE_EXPLICIT_LARGEFILE_SUPPORT
  HAVE_FCHMOD
  HAVE_FCHOWN
  HAVE_FCNTL_LOCK
  HAVE_FCVT
  HAVE_FGETXATTR
  HAVE_FLISTXATTR
  HAVE_FOPEN64
  HAVE_FREMOVEXATTR
  HAVE_FSEEKO64
  HAVE_FSETXATTR
  HAVE_FSID_INT
  HAVE_FSTAT
  HAVE_FSTAT64
  HAVE_FSYNC
  HAVE_FTELLO64
  HAVE_FTRUNCATE
  HAVE_FTRUNCATE64
  HAVE_FTRUNCATE_EXTEND
  HAVE_FUNCTION_MACRO
  HAVE_GETCWD
  HAVE_GETDIRENTRIES
  HAVE_GETGRENT
  HAVE_GETGRNAM
  HAVE_GETMNTENT
  HAVE_GETNETGRENT
  HAVE_GETPAGESIZE
  HAVE_GETPGRP
  HAVE_GETPWENT_R
  HAVE_GETRLIMIT
  HAVE_GETSPNAM
  HAVE_GETTIMEOFDAY_TZ
  HAVE_GETXATTR
  HAVE_GLOB
  HAVE_GRANTPT
  HAVE_GSSAPI
  HAVE_GSS_DISPLAY_STATUS
  HAVE_HISTORY_LIST
  HAVE_ICONV
  HAVE_IFACE_IFCONF
  HAVE_IMMEDIATE_STRUCTURES
  HAVE_INITGROUPS
  HAVE_INITIALIZE_KRB5_ERROR_TABLE
  HAVE_INNETGR
  HAVE_KERNEL_CHANGE_NOTIFY
  HAVE_KERNEL_OPLOCKS_LINUX
  HAVE_KERNEL_SHARE_MODES
  HAVE_KRB5
  HAVE_KRB5_AUTH_CON_SETUSERUSERKEY
  HAVE_KRB5_C_ENCTYPE_COMPARE
  HAVE_KRB5_C_VERIFY_CHECKSUM
  HAVE_KRB5_ENCRYPT_BLOCK
  HAVE_KRB5_ENCRYPT_DATA
  HAVE_KRB5_FREE_DATA_CONTENTS
  HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTE

[Samba] symlinks with missing destination are hidden - can they be shown?

2007-06-22 Thread James Casbon
If a directory contains a symlink to a file which is missing, then samba
hides the file when listing the directory.

This leads to unpleasant behaviour on the client:
[EMAIL PROTECTED]:~$ ls test
[EMAIL PROTECTED]:~$ rm -rf test
rm: cannot remove directory `test': Directory not empty

The only workaround I have is to remove the directory on the server.
Can samba be configured not to hide the symlink?

thanks,


-- 
James Casbon

Point Nine Financial Technologies Ltd
Work  : +44 (0) 20 7340 9544
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Smbclient help!

2007-06-22 Thread Kossuth Espinosa, Oskar
Hi

I have a question
How do i access a subdirectory of a windows share using smbclient?
The problem is that i have a windows folder \\192.168.1.33\dvds shared
in a windows machine but i want a direct access with smbclient from a
linux machine to the folder \\192.168.1.33\dvds\examples. Is it
possible?? any /etc/fstab setting to do this?
Im using suse linux enterprise server 8 and samba 2.2.8


-- 
Greetings,

Oskar Kossuth E.

Administrador Unix
[EMAIL PROTECTED]
ANTEL telecomunicaciones


Este e-mail y cualquier posible archivo adjunto está dirigido únicamente al 
destinatario del mensaje y contiene información que puede ser confidencial. Si 
Ud. no es el destinatario correcto por favor notifique al remitente 
respondiendo este mensaje y elimine inmediatamente el e-mail y los posibles 
archivos adjuntos al mismo de su sistema. Está prohibida cualquier utilización, 
difusión o copia de este e-mail por cualquier persona o entidad que no sean las 
específicas destinatarias del mensaje. ANTEL no acepta ninguna responsabilidad 
con respecto a cualquier comunicación que haya sido emitida incumpliendo 
nuestra Política de Seguridad de la Información.
. . . . . . . . .
This e-mail and any attachment is confidential and is intended solely for the 
addressee(s). If you are not intended recipient please inform the sender 
immediately, answering this e-mail and delete it as well as the attached files. 
Any use, circulation or copy of this e-mail by any person or entity that is not 
the specific addressee(s) is prohibited. ANTEL is not responsible for any 
communication emitted without respecting our Information Security Policy.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] share names in WXP

2007-06-22 Thread Libor Kunes
I use samba 3.0.9 on my server. Now I installed WXP on one of the 
clients but I have problems with the network share names. If a user 
wants to download something on the network share he can see only the 
name of the samba "Samba 3.0.9." but he can not see the name of the 
share (the dialog box is small). Under windows 2000 there is not problem 
with it. Of course I have the network share names mapped on the letters.
could anyone please help me what to change so that the user could see 
the name of the share when e.g. downloading a document on the network 
drive?

Thank
libor

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


[Samba] Problem using root preexec

2007-06-22 Thread TexasTim

I'm having trouble getting root preexec to work.

The version of Samba I have is an older one (2.2.7) and I can't upgrade it
since I don't want to go to the trouble of getting and compiling the source
code for QNX.

What I really want to do is have our Windows GUI machine be able to execute
scripts on my QNX machine (checking filesystem integrity, untarring software
bundles etc) as QNX scripts (not Dos batch commands). However there doesn't
seem to be any way to have that happen. So instead I want to use the preexec
command to upgrade the software by running a script that will untar an
archive and set file permissions when a 'download' user logs in.

I created a user called 'download' on my machine. I added 'download' to the
smbpassword file. I can easily connect from the Windows machine as the
'download' user.

In my smb.conf file I added the following:

[download]
root preexec /bin/upgradeScript
path = /home/download

But no matter how many times I log in now as 'download' my script is never
executed. 

Any ideas of what I am doing wrong?

TIA,

Tim



-- 
View this message in context: 
http://www.nabble.com/Problem-using-root-preexec-tf3937613.html#a11167961
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Problems adding a printer share

2007-06-22 Thread Michael Powell
I have added an HP Deskjet 600 to my debian etch system, using CUPS.  It is 
working fine.

I would like to set it up so that I can occassionally print to it from a 
Windows 9x machine.  This is where I seem to be having trouble.

I consulted the HOW-TO docs on the samba site, but they are quite detailed
and confusing (for me).  

I don't want to do anything that will cause the printer to work for the Win9x
machine, but stop working properly on the debian machine.  I am probably 
wrong, but what little I did understand of the HOW-TO gave me the 
impression that it might indeed cause problems.

I really need something that is more like "A Dummy's Guide to SAMBA and 
Print Shares."  The Win9x machine can currently see/access the other shares
defined on the debian box.  Is there an "dummy's" way to set the printer 
share up so that my Win9x machine can see it?

Thanks!

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


[Samba] Problem with Samba config under SUSE SLES 10

2007-06-22 Thread Shearer, Greg GS
Hi all,

I'm having some difficulty configuring Samba correctly.
Something I've noticed is that changes I make to Samba config through YAST 
aren't being retained in smb.conf.
The smb.conf timestamp appears to change ... but that is all.
Can anyone suggest what the problem could be?
Does this mean I'll have to use command line configuration?

Greg Shearer

Greg Shearer - Senior Systems Engineer
PO Box 245C, Newcastle, NSW 2300
PH: 02 4935 4962 Fax: 02 4935 4959
Email: [EMAIL PROTECTED]  Web: www.onesteel.com 
OneSteel Market Mills




The material contained in this email may be confidential, privileged or 
copyrighted. If you are not the intended recipient, use, disclosure or copying 
of this information is prohibited. If you have received this document in error, 
please advise the sender and delete the document. Neither OneSteel nor the 
sender accept responsibility for any viruses contained in this email or any 
attachments.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Invalid Argument ls dir mounted share

2007-06-22 Thread Anderson Kopke

Max,

   I will try yum update, even tought you told me that it inst fix the
problem ...
   Tomorrow i will write to you and tell what happened.

  Man ... Im so sorry for my English ok..? Im Brazillian and dont speak very
well.
   
  Thanks :-)
   

Max Kipness wrote:
> 
> Andserson,
> 
> Looks like the fix it to upgrade from the stock kernel in FC6. I tried an
> update using 'Yum update kernel' but nothing is found in the default
> repositories yet I suppose. I'm going to see if I find another repository
> that has a kernel update rpm package. Would you happen to know of any or
> another simple method to upgrade? I surely don't want to bother with
> updating the kernel from source, plus I'm doing this remotely. In the past
> Yum based kernel updates have gone well for me.
> 
> If I can't figure it out, I will have to travel to the server, and install
> Fedora 7 which with the new kernel supposedly fixes this issue. 
> 
> Thanks for all your help diagnosing this issue.
> 
> Max
> 
> 
> Anderson Kopke wrote:
>> 
>> Max,
>> 
>>  Please look at
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211070 
>> 
>>   "..Just to summarize - 
>> readdir (ls) will fail on cifs with 2.6.18-fc6, and similar fc5 versions
>> for
>> directories which contain about 120 files or more (it depends on the
>> length of
>> the file names)
>> 
>> As Eric found (see above) the bug shows up because the Fedora kernel now
>> sets
>> the recommended i/o size on cifs inodes incorrectly (it was set based on
>> blkbits
>> which for cifs is 16K - .."
>> 
>>Maybe it will help us.
>>   
>> 
>> Max Kipness wrote:
>>> 
>>> Thanks for the reply. The Samba list is probably the hardest list to get
>>> an answer from, it's very strange. 
>>> 
>>> Anyway, it's good to know I'm not the only one that noticed this. I'm
>>> thinking I did not have this issue with prior versions of Fedora, but
>>> I'm not positive. I'm wondering if it's a cifs bug. Hopefully someone
>>> that knows more about this will reply.
>>> 
>>> Have you found any pattern to your problem? As far as contents of the
>>> directory?
>>> 
>>> If I find a solution, I will be sure and let you know.
>>> 
>>> Thanks,
>>> Max
>>> 
>>> Anderson Kopke wrote:
 
 Man... 
 
  Im having this same problem. Im also using Fedora Core 6, and i will
 sugest you make a test. Try to open your directory with firefox (like
 file:///). When i do that, firefox open the directory
 normally. I know, it inst solve our problem but its a evidence.
 
   Well, i will try to find more information about it, if i solve it
 first than you .. i will tell you. ok?
 
   Good Luck.
 
 
 
   
 
  
 
 
 Max Kipness wrote:
> 
> Anyone, please?
> 
> 
> 
> Max Kipness wrote:
>> 
>> I'm using Fedora Core 6 which uses cifs.mount version 1.10. When
>> mounting shares from a particular Windows 2003 R2 server, I cannot
>> read certain directories. For example, when performing an 'ls'
>> command as follows:
>> 
>> [EMAIL PROTECTED] Admin]# ls /share/CORP-SERVER/C\$/Corp/User\ Files/xxx\
>> Finacial\ Shared/Admin/Freddie\ Mac/
>> ls: reading directory /share/CORP-SERVER/C$/Corp/User Files/xxx
>> Finacial Shared/Admin/Freddie Mac/: Invalid argument
>> 
>> No matter how I try to read this directory 'Freddie Mac' I get the
>> same error. I can even CD into the directory, but when doing an 'ls'
>> from inside, I get the same error.
>> 
>> The mount with cifs succeeds fine, no errors. 98% of the directories
>> can be read fine, but there are a few that give this error.
>> 
>> After some testing it seems like the problem has to do possibly with
>> the type of files, or characters in the name. In this directory there
>> are many .docx files. Also some of the files names have pound signs
>> and some file names start with a number. The strange thing is that if
>> I move all files except for 47 of the files, I can do the 'ls' from
>> linux. However, if I add the 48th file back to this directory I start
>> getting the 'Invalid Argument'
>> error again. I tested other directories with more than 48 files and
>> never get this error, so it has something to do with these files and
>> having more than 48. I also moved the files to a different folder,
>> and still had the same error reading the new folder contents.
>> 
>> Anybody have any clue as to what the problem might be? Any tips on
>> what I can try to remedy? Anything?
>> 
>> Thanks,
>> Max
>> 
>> 
> 
> 
 
 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invalid-Argument-ls-dir-mounted-share-tf3907351.html#a11130926
Sent from the Samba - General mailing list archive at Nabble.com.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://list

Re: [Samba] Invalid Argument ls dir mounted share

2007-06-22 Thread Anderson Kopke

Max,

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211070

  It was confirmed. 

  I splitt my big directory in two directories. After that ... ls and
konqueror read it fine :-)

  I will update my FC6 .. and pray this cifs bug being solved.

  



Max Kipness wrote:
> 
> Thanks for the reply. The Samba list is probably the hardest list to get
> an answer from, it's very strange. 
> 
> Anyway, it's good to know I'm not the only one that noticed this. I'm
> thinking I did not have this issue with prior versions of Fedora, but I'm
> not positive. I'm wondering if it's a cifs bug. Hopefully someone that
> knows more about this will reply.
> 
> Have you found any pattern to your problem? As far as contents of the
> directory?
> 
> If I find a solution, I will be sure and let you know.
> 
> Thanks,
> Max
> 
> Anderson Kopke wrote:
>> 
>> Man... 
>> 
>>  Im having this same problem. Im also using Fedora Core 6, and i will
>> sugest you make a test. Try to open your directory with firefox (like
>> file:///). When i do that, firefox open the directory
>> normally. I know, it inst solve our problem but its a evidence.
>> 
>>   Well, i will try to find more information about it, if i solve it first
>> than you .. i will tell you. ok?
>> 
>>   Good Luck.
>> 
>> 
>> 
>>   
>> 
>>  
>> 
>> 
>> Max Kipness wrote:
>>> 
>>> Anyone, please?
>>> 
>>> 
>>> 
>>> Max Kipness wrote:
 
 I'm using Fedora Core 6 which uses cifs.mount version 1.10. When
 mounting shares from a particular Windows 2003 R2 server, I cannot read
 certain directories. For example, when performing an 'ls' command as
 follows:
 
 [EMAIL PROTECTED] Admin]# ls /share/CORP-SERVER/C\$/Corp/User\ Files/xxx\
 Finacial\ Shared/Admin/Freddie\ Mac/
 ls: reading directory /share/CORP-SERVER/C$/Corp/User Files/xxx
 Finacial Shared/Admin/Freddie Mac/: Invalid argument
 
 No matter how I try to read this directory 'Freddie Mac' I get the same
 error. I can even CD into the directory, but when doing an 'ls' from
 inside, I get the same error.
 
 The mount with cifs succeeds fine, no errors. 98% of the directories
 can be read fine, but there are a few that give this error.
 
 After some testing it seems like the problem has to do possibly with
 the type of files, or characters in the name. In this directory there
 are many .docx files. Also some of the files names have pound signs and
 some file names start with a number. The strange thing is that if I
 move all files except for 47 of the files, I can do the 'ls' from
 linux. However, if I add the 48th file back to this directory I start
 getting the 'Invalid Argument'
 error again. I tested other directories with more than 48 files and
 never get this error, so it has something to do with these files and
 having more than 48. I also moved the files to a different folder, and
 still had the same error reading the new folder contents.
 
 Anybody have any clue as to what the problem might be? Any tips on what
 I can try to remedy? Anything?
 
 Thanks,
 Max
 
 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invalid-Argument-ls-dir-mounted-share-tf3907351.html#a11126795
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Invalid Argument ls dir mounted share

2007-06-22 Thread Anderson Kopke

Max,

 Please look at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211070 

  "..Just to summarize - 
readdir (ls) will fail on cifs with 2.6.18-fc6, and similar fc5 versions for
directories which contain about 120 files or more (it depends on the length
of
the file names)

As Eric found (see above) the bug shows up because the Fedora kernel now
sets
the recommended i/o size on cifs inodes incorrectly (it was set based on
blkbits
which for cifs is 16K - .."

   Maybe it will help us.
  

Max Kipness wrote:
> 
> Thanks for the reply. The Samba list is probably the hardest list to get
> an answer from, it's very strange. 
> 
> Anyway, it's good to know I'm not the only one that noticed this. I'm
> thinking I did not have this issue with prior versions of Fedora, but I'm
> not positive. I'm wondering if it's a cifs bug. Hopefully someone that
> knows more about this will reply.
> 
> Have you found any pattern to your problem? As far as contents of the
> directory?
> 
> If I find a solution, I will be sure and let you know.
> 
> Thanks,
> Max
> 
> Anderson Kopke wrote:
>> 
>> Man... 
>> 
>>  Im having this same problem. Im also using Fedora Core 6, and i will
>> sugest you make a test. Try to open your directory with firefox (like
>> file:///). When i do that, firefox open the directory
>> normally. I know, it inst solve our problem but its a evidence.
>> 
>>   Well, i will try to find more information about it, if i solve it first
>> than you .. i will tell you. ok?
>> 
>>   Good Luck.
>> 
>> 
>> 
>>   
>> 
>>  
>> 
>> 
>> Max Kipness wrote:
>>> 
>>> Anyone, please?
>>> 
>>> 
>>> 
>>> Max Kipness wrote:
 
 I'm using Fedora Core 6 which uses cifs.mount version 1.10. When
 mounting shares from a particular Windows 2003 R2 server, I cannot read
 certain directories. For example, when performing an 'ls' command as
 follows:
 
 [EMAIL PROTECTED] Admin]# ls /share/CORP-SERVER/C\$/Corp/User\ Files/xxx\
 Finacial\ Shared/Admin/Freddie\ Mac/
 ls: reading directory /share/CORP-SERVER/C$/Corp/User Files/xxx
 Finacial Shared/Admin/Freddie Mac/: Invalid argument
 
 No matter how I try to read this directory 'Freddie Mac' I get the same
 error. I can even CD into the directory, but when doing an 'ls' from
 inside, I get the same error.
 
 The mount with cifs succeeds fine, no errors. 98% of the directories
 can be read fine, but there are a few that give this error.
 
 After some testing it seems like the problem has to do possibly with
 the type of files, or characters in the name. In this directory there
 are many .docx files. Also some of the files names have pound signs and
 some file names start with a number. The strange thing is that if I
 move all files except for 47 of the files, I can do the 'ls' from
 linux. However, if I add the 48th file back to this directory I start
 getting the 'Invalid Argument'
 error again. I tested other directories with more than 48 files and
 never get this error, so it has something to do with these files and
 having more than 48. I also moved the files to a different folder, and
 still had the same error reading the new folder contents.
 
 Anybody have any clue as to what the problem might be? Any tips on what
 I can try to remedy? Anything?
 
 Thanks,
 Max
 
 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invalid-Argument-ls-dir-mounted-share-tf3907351.html#a11126322
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Invalid Argument ls dir mounted share

2007-06-22 Thread Anderson Kopke

Man... 

 Im having this same problem. Im also using Fedora Core 6, and i will sugest
you make a test. Try to open your directory with firefox (like
file:///). When i do that, firefox open the directory normally.
I know, it inst solve our problem but its a evidence.

  Well, i will try to find more information about it, if i solve it first
than you .. i will tell you. ok?

  Good Luck.



  

 


Max Kipness wrote:
> 
> Anyone, please?
> 
> 
> 
> Max Kipness wrote:
>> 
>> I'm using Fedora Core 6 which uses cifs.mount version 1.10. When mounting
>> shares from a particular Windows 2003 R2 server, I cannot read certain
>> directories. For example, when performing an 'ls' command as follows:
>> 
>> [EMAIL PROTECTED] Admin]# ls /share/CORP-SERVER/C\$/Corp/User\ Files/xxx\
>> Finacial\ Shared/Admin/Freddie\ Mac/
>> ls: reading directory /share/CORP-SERVER/C$/Corp/User Files/xxx Finacial
>> Shared/Admin/Freddie Mac/: Invalid argument
>> 
>> No matter how I try to read this directory 'Freddie Mac' I get the same
>> error. I can even CD into the directory, but when doing an 'ls' from
>> inside, I get the same error.
>> 
>> The mount with cifs succeeds fine, no errors. 98% of the directories can
>> be read fine, but there are a few that give this error.
>> 
>> After some testing it seems like the problem has to do possibly with the
>> type of files, or characters in the name. In this directory there are
>> many .docx files. Also some of the files names have pound signs and some
>> file names start with a number. The strange thing is that if I move all
>> files except for 47 of the files, I can do the 'ls' from linux. However,
>> if I add the 48th file back to this directory I start getting the
>> 'Invalid Argument'
>> error again. I tested other directories with more than 48 files and never
>> get this error, so it has something to do with these files and having
>> more than 48. I also moved the files to a different folder, and still had
>> the same error reading the new folder contents.
>> 
>> Anybody have any clue as to what the problem might be? Any tips on what I
>> can try to remedy? Anything?
>> 
>> Thanks,
>> Max
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invalid-Argument-ls-dir-mounted-share-tf3907351.html#a11125180
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Question - Tech issue - Bad file descriptor

2007-06-22 Thread Martin Timbro
Hi all,

 

I've read everywhere I could on this issue and it seems no one has yet to
find a solution.

 

It seems I have a Samba issue as is being shown in dmesg and
/var/log/messages:

 

Dmesg:

 

smb_lookup: find //logs failed, error=-5

 

/var/log/messages:

 

Jun 12 17:12:56 esgstdev01 kernel: smb_request: result -104, setting invalid

Jun 12 17:12:56 esgstdev01 mount.smbfs[1038]: [2007/06/12 17:12:56, 0]
tdb/tdbutil.c:tdb_log(725)

Jun 12 17:12:56 esgstdev01 mount.smbfs[1038]:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 17 ltype=0 (Bad
file desc

riptor)

Jun 12 17:12:56 esgstdev01 kernel: smb_retry: successful, new pid=1038,
generation=513

 

If anyone has a clue on how to resolve this, please reply.

 

Cheers,

 

 

Martin Timbro

Adminstrateur Systemes

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


[Samba] smbfs intermittent errors: tdb_lock failed, ERRDOS 71

2007-06-22 Thread mohansukumar
I mounted //winxp/linuxbu onto to a 2nd new mountpoint called
/mnt/buonwinxp. I got same errors as you.

 

So I first verified if password of the //winxp/linuxbu was wrong. With a
wrong password, I got response as below:

[EMAIL PROTECTED] root]# smbmount //winxp/linuxbu /mnt/buonwinxp -o
username=linuxbu uid=root gid=root rw

Password : y

9982: session setup failed: ERRDOS - ERRnoaccess (Access denied.)

SMB connection failed

 

Then, I verified using correct password of WinXP to mount //winxp/linuxbu on
/mnt/buonwinxp. I got response as below.

[EMAIL PROTECTED] root]# smbmount //winxp/linuxbu /mnt/buonwinxp -o
username=linuxbu uid=root gid=root rw

Password : x:

9983: tree connect failed: ERRDOS - 71

SMB connection failed

 

Then I checked the number of connections allowed to use the //winxp/linuxbu
share of WinXP. 

I had set this for only 1 user. I changed the WinXP settings of the share by
rightclicktaboption

I got response as below, and mount was now fine.

[EMAIL PROTECTED] root]# smbmount //winxp/linuxbu /mnt/buonwinxp -o
username=linuxbu uid=root gid=root rw

Password : x

[EMAIL PROTECTED] root]#

 

Maybe, you have exceeded the default setting of 10 users in WinXP.

 

Mohan Sukumar, Thiruvananthapuram, Kerala, INDIA

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


[Samba] Local authentication when member server

2007-06-22 Thread George Farris
Hi all,

I have a machine joined to AD as a member server and have home drives
and roaming profiles redirected in AD to the local samba member server.

Users that login are authenticated via winbind and AD.

I'm wondering if it is possible to have local users on the Samba system
in tdbsam or ldapsam.  I did try but no luck so far.

Has anyone done this?

-- 
George Farris   [EMAIL PROTECTED]
Malaspina University-College

As with the rail barons of the past:
"There is no reason why the computer industry should have to put up 
with 'private standards' any longer. The word 'incompatible' is a 
dirty word. It's time to run those who insist on using it out of the 
business."

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


[Samba] Re: Intermittent "INTERNAL ERROR: Signal 11" with 3.0.24

2007-06-22 Thread Joe Murphy
Hi all

Follow up to this post, we've been able to capture a gdb
backtrace. Can anyone help with guidance as to what this
means. See below:

(gdb) bt
#0  0xe410 in ?? ()
#1  0x0001 in ?? ()
#2  0x in ?? ()
#3  0xbfffc9d8 in ?? ()
#4  0x402b36e3 in __waitpid_nocancel () from
/lib/tls/libc.so.6
#5  0x4025ef58 in do_system () from /lib/tls/libc.so.6
#6  0x402268dd in system () from /lib/tls/libpthread.so.0
#7  0x0822b612 in smb_panic (why=0x0) at lib/util.c:1608
#8  0x08219b3f in fault_report (sig=-512) at lib/fault.c:47
#9  0x08219b50 in sig_fault (sig=-512) at lib/fault.c:70
#10 
#11 0x40292d1b in strlen () from /lib/tls/libc.so.6
#12 0x40268242 in vfprintf () from /lib/tls/libc.so.6
#13 0x40285e76 in vsnprintf () from /lib/tls/libc.so.6
#14 0x08219956 in dbgtext (format_str=0x6d2e5c73 "") at
lib/debug.c:1011
#15 0x0825b360 in oplock_timeout_handler (te=0x844ce10,
now=0xbfffd9c0,
private_data=0x84492f0) at smbd/oplock.c:351
#16 0x08242d7d in run_events () at lib/events.c:102
#17 0x080f2801 in receive_message_or_smb (buffer=0x40433008
"",
buffer_len=131137, timeout=6) at smbd/process.c:457
#18 0x080f4122 in smbd_process () at smbd/process.c:1649
#19 0x082beea9 in main (argc=1831754867, argv=0xbfffdd34) at
smbd/server.c:1024

This is similar to the following panic message recorded in
syslog:

Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
smbd/oplock.c:oplock_timeout_handler(351)
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/fault.c:fault_report(41)
Jun 13 12:57:29 uhti02 smbd[16322]:  
===
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/fault.c:fault_report(42)
Jun 13 12:57:29 uhti02 smbd[16322]:   INTERNAL ERROR: Signal
11 in pid 16322 (3.0.24-SerNet-SuSE)
Jun 13 12:57:29 uhti02 smbd[16322]:   Please read the
Trouble-Shooting section of the Samba3-HOWTO
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/fault.c:fault_report(44)
Jun 13 12:57:29 uhti02 smbd[16322]:
Jun 13 12:57:29 uhti02 smbd[16322]:   From:
http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/fault.c:fault_report(45)
Jun 13 12:57:29 uhti02 smbd[16322]:  
===
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/util.c:smb_panic(1599)
Jun 13 12:57:29 uhti02 smbd[16322]:   PANIC (pid 16322):
internal error
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/util.c:log_stack_trace(1706)
Jun 13 12:57:29 uhti02 smbd[16322]:   BACKTRACE: 14 stack
frames:
Jun 13 12:57:29 uhti02 smbd[16322]:#0
/usr/sbin/smbd(log_stack_trace+0x22) [0x822b6fb]
Jun 13 12:57:29 uhti02 smbd[16322]:#1
/usr/sbin/smbd(smb_panic+0x6f) [0x822b59a]
Jun 13 12:57:29 uhti02 smbd[16322]:#2 /usr/sbin/smbd
[0x8219b3f]
Jun 13 12:57:29 uhti02 smbd[16322]:#3 /usr/sbin/smbd
[0x8219b50]
Jun 13 12:57:29 uhti02 smbd[16322]:#4 [0xe420]
Jun 13 12:57:29 uhti02 smbd[16322]:#5
/lib/tls/libc.so.6(vsnprintf+0xb6) [0x40285e76]
Jun 13 12:57:29 uhti02 smbd[16322]:#6
/usr/sbin/smbd(dbgtext+0x2e) [0x8219956]
Jun 13 12:57:29 uhti02 smbd[16322]:#7 /usr/sbin/smbd
[0x825b360]
Jun 13 12:57:29 uhti02 smbd[16322]:#8
/usr/sbin/smbd(run_events+0x15f) [0x8242d7d]
Jun 13 12:57:29 uhti02 smbd[16322]:#9 /usr/sbin/smbd
[0x80f2801]
Jun 13 12:57:29 uhti02 smbd[16322]:#10
/usr/sbin/smbd(smbd_process+0x10e) [0x80f4122]
Jun 13 12:57:29 uhti02 smbd[16322]:#11
/usr/sbin/smbd(main+0x946) [0x82beea9]
Jun 13 12:57:29 uhti02 smbd[16322]:#12
/lib/tls/libc.so.6(__libc_start_main+0xd0) [0x40240210]
Jun 13 12:57:29 uhti02 smbd[16322]:#13 /usr/sbin/smbd
[0x808ceb1]
Jun 13 12:57:29 uhti02 smbd[16322]: [2007/06/13 12:57:29, 0]
lib/util.c:smb_panic(1607)
Jun 13 12:57:29 uhti02 smbd[16322]:   smb_panic(): calling
panic action [/bin/sleep 9]

Versions:
Kernel: 2.6.5-7.97-bigsmp
smbd, nmbd, winbindd: Version 3.0.24-SerNet-SuSE

As I said earlier this problem occurs intermittently every
2-3 days, in 2 separate Samba installations, and when it
occurs Samba requires a restart to clear.

Much appreciated.

Joe




- Original Message Follows -
> Hi Samba list,
>  
> We're experiencing some issues with our Samba 3.0.24
> environments. Hopefully somebody can offer suggestions or
> guidance.
>  
> A bit of background. We have 3 application environments,
> which consist of a Samba host providing file sharing
> services to 7 Windows application servers.
>  
> These Samba hosts intermittently experiencing problem
> providing file sharing. So far we haven't established a
> pattern with the failures, so for now the best we can
> establish is that every couple of days a Samba host will
> experience a Internal Error (signal 11) in an smbd
> process.  From that point onwards the smbd process will
> operate unreliability such that Windows clients will
> generally not be able to connect to th

[Samba] Question - technical issue

2007-06-22 Thread Martin Timbro
Hi all,

 

I've read everywhere I could on this issue and it seems no one has yet to
find a solution.

 

It seems I have a Samba issue as is being shown in dmesg and
/var/log/messages:

 

Dmesg:

 

smb_lookup: find //logs failed, error=-5

 

/var/log/messages:

 

Jun 12 17:12:56 esgstdev01 kernel: smb_request: result -104, setting invalid

Jun 12 17:12:56 esgstdev01 mount.smbfs[1038]: [2007/06/12 17:12:56, 0]
tdb/tdbutil.c:tdb_log(725)

Jun 12 17:12:56 esgstdev01 mount.smbfs[1038]:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 17 ltype=0 (Bad
file desc

riptor)

Jun 12 17:12:56 esgstdev01 kernel: smb_retry: successful, new pid=1038,
generation=513

 

If anyone has a clue on how to resolve this, please reply.

 

Cheers,

 

Martin Timbro

Systems Administrator

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


[Samba] valid users directory containing local groups

2007-06-22 Thread Jerome Haltom
I have a remote user, ISI\jhaltom, which is mapped to the local Unix
user ISI\jhaltom using Winbind, idmap_ad and sfu. No entry for ISI
\jhaltom appears in /etc/passwd. In /etc/group I have a local group
"admin" who contains ISI\jhaltom in it's member list. When I change user
to ISI\jhaltom and type groups, it shows him as a member of "admin". I
have a share with valid users set to @admin. The user jhaltom cannot
access the share, NT_STATUS_ACCESS_DENIED. Logs show that "ISI\jhaltom
is not a member of valid users".

Is Samba tracing down these local group memberships in the same way that
NSS is?

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


[Samba] windows to unix user name mappings

2007-06-22 Thread Jerome Haltom
I'd like my canonical Unix names to be of the form [EMAIL PROTECTED]
Is there anyway to accomplish this? I'd also like NSS to lookup all the
various variations and return that canonical representation.

This seems to me to be the most appropriate way to map them. Is there a
way to configure this?

If not, is there anyway to return DOMAIN\user when lookups for 'user'
happen?

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


Re: [Samba] Guest account access with User mode security?

2007-06-22 Thread Mansell, Gary
Hi,

I have finally had time to put up the test server and perform the
actions that you asked for with logging set to 10.

I would expect that a Windows machine should be able to access a public
share on the Samba server without the clear text password hack being
applied (it always worked fine with Samba 2.x and share mode security)
so the tar file No-Encrypted_PWD.tar has the logs for this instance.
>From the client machine I tried to map the share \\172.30.50.247\nt
(which is public) and the error that I got back on the laptop was the
one that you would get to indicate that you need to apply the encrypted
password hack to the machine. This should not happen, the machine should
be able to map the drive without the encrypted password hack or
supplying a username/password.

For completeness, I then installed the encrypted password hack on the
Windows client and performed the same connection with a fresh set of
logfiles. This time it came straight back with a password dialog box
(wrong behaviour) so I entered in guest as the username with no password
and it came back with the password dialog box again

It seems that others on the Internet have mentioned that guest access
does not work for user mode authentications so it seems not to be just
me although it surprises me that such a fundamental feature seems to be
flawed???

Any advice that you can offer would be gladly received.

Regards

Gary Mansell





On Thu, 2007-06-07 at 07:24 -0500, Gerald (Jerry) Carter wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Mansell, Gary wrote:
> 
> > If a user (who does not have a login account on the 
> > Samba server) tries to map a guest share, the user gets
> > presented with a login dialog asking for a password
> > for the Guest account - how can I just allow access
> > without the user being asked for a password?
> 
> Gary,  Please send me a level 10 debug log from smbd
> with the failed login and failed guest access.
> Thanks.
> 
> 
> 
> 
> cheers, jerry
> =
> Samba--- http://www.samba.org
> Centeris ---  http://www.centeris.com
> "What man is a man who does not make the world better?"  --Balian
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGZ/jlIR7qMdg1EfYRAulhAJ40LsFB8YRKrTtAUtpQEa/Td1xnDACfToPB
> HGWbpxOjOrgJ9NhST8C9bkg=
> =1Waw
> -END PGP SIGNATURE-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - -
This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.If 
you have received this e-mail in error please notify the sender immediately and 
delete this e-mail from your system.Please note that any views or opinions 
presented in this e-mail are solely those of the author and do not necessarily 
represent those of Ricardo (save for reports and other documentation formally 
approved and signed for release to the intended recipient).Only Directors are 
authorised to enter into legally binding obligations on behalf of Ricardo. 
Ricardo may monitor outgoing and incoming e-mails and other telecommunications 
systems.
By replying to this e-mail you give consent to such monitoring.The recipient 
should check e-mail and any attachments for the presence of viruses. Ricardo 
accepts no liability for any damage caused by any virus transmitted by this 
e-mail. "Ricardo" means Ricardo plc and its subsidiary companies.
Ricardo plc is a public limited company registered in England with registered 
number 00222915.
The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by 
Sea, West Sussex, BN43 5FG.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Samba topography question joining with ADS?

2007-06-22 Thread George Farris
I have the current situation and am trying to figure out which way is
the best approach.

Our organization has two domains, REMOTE and LOCAL
 REMOTE  - remotely located Active Directory, Windows 2003
 LOCAL   - local Samba 3.0.x, Linux server

I have computer labs and students that would like to login to REMOTE and
also local accounts that need LOCAL.

There is no way to have a WinXP station belong to two domains.  So...

If we moved everything onto the REMOTE domain, could Samba be setup with
tdbsam or LDAP and windbind to authenticate local accounts, with a local
home directory and local roaming profile while also allowing students to
login via windbind and connect to their remote home and profile?

I have tried this but have so far not had any success.  I have a
Kerberos ticket and have joined the Samba machine to REMOTE.  I can then
connect a WINXP station to remote and login.  I can even set the home
directory in AD to the local Samba machine which works.

What doesn't work.

1) Local accounts   - can't get Samba to authenticate a local account.

Are local accounts possible in this situation?


-- 
George Farris   [EMAIL PROTECTED]
Malaspina University-College

As with the rail barons of the past:
"There is no reason why the computer industry should have to put up 
with 'private standards' any longer. The word 'incompatible' is a 
dirty word. It's time to run those who insist on using it out of the 
business."

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


Re: [Samba] idealx-smbtools gone?

2007-06-22 Thread Asier

Andreas Paulick dijo:

> I'm looking for the idealx-smbtools.  Okay this is written in every
> other mail in this list - pointing to samba.idealx.org. But there is no
> server. Even www.idealx.org is redirected to www.opentrust.org. As you
> can see there, there is a bottom line with idealx, but as far as i can
> see, no smbtools.
> Does anyone knows a valid source? Am I blind, looking for trees while
> standing in a forrest?

You can go to their sourceforge page and download from there[1], or you
can take it from some distribution. In Debian you have the original
sources[2] and the .deb package.

[1] http://sourceforge.net/projects/smbldap-tools/
[2] http://packages.debian.org/smbldap-tools

Good luck!
-- 
Asier.

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


[Samba] Re: Profile deleted

2007-06-22 Thread Rex Dieter
Mario Gzuk wrote:

> Hi,
> strange things or normal behavior? We have a samba domain and
> "Domain-guests" accounts that are limited to log on to only some
> machines, on this machines the "Domain-guests" are in the lokal admin
> group.
...
> 3.) log on again with this "Domain-guests" account -> all data and all
> settings are gone. I was not able to find any of the files stored in
> this account (under "Documents and Settings") and all settings are set
> to the default.
> 
> Is this normal?

Yes, Guest account profiles are not persistent (ie, reset on every login).

-- Rex

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


[Samba] Re: samba Digest, Vol 54, Issue 23

2007-06-22 Thread paul
Hello,

I am out of the office from Thursday June 14th until Tuesday June 26th.  I will 
get back to you as soon as I can.

Thanks,
~Paul


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


Re: [Samba] Samba 3.0.24 on AIX 5.3 + winbindd

2007-06-22 Thread Axel Schmalowsky
Hey,

I forgot to mention that I'm not using AD yet. So LDAP & Kerberos is not
important to me, right now - since I'm still using a NT4-Domain :(
Should I use another/older Samba version for my configuration?

Thanks,
 Axel


Info wrote:
> Alex,
> I've installed 3.0.25a on AIX 5.3 and am getting issues with adding samba 
> server
> into W2003 AD, can you assist ?
>
> I got my 3.0.25a binaries from samba site, where did you get yours ?
> Do I need a pam_winbind.conf file ?
>
> I'd appreciate any help ?
>
>
> here is what I' doing to add samba server in W2003 AD
> # rm /opt/pware/samba/3.0.25a/private/secrets.tdb
> # rm /opt/pware/samba/3.0.25a/var/locks/*.tdb
> # ntpdate 10.1.1.101
> 20 Jun 12:06:03 ntpdate[14830]: adjust time server 10.1.1.101 offset -0.003558
> # cd /opt/pware/bin
> # ./kinit
> Password for [EMAIL PROTECTED]:
> # ./klist
> Ticket cache: FILE:/tmp/krb5cc_0
> Default principal: [EMAIL PROTECTED]
>
> Valid starting ExpiresService principal
> 06/20/07 12:05:20  06/20/07 18:45:20  krbtgt/[EMAIL PROTECTED]
>
>
> Kerberos 4 ticket cache: /tmp/tkt0
> klist: You have no tickets cached
> # cd /opt/pware/samba/3.0.25a/bin
> # ./net --debuglevel=10 ads join
>
> fyi smb.conf and krb5.conf
>
>
>
> KRB5.conf
>
>
>
>
>
>
>
> [libdefaults]
>
>
>
> ticket_lifetime = 24000
>
>
>
> default_realm = CLPSRES.LOCAL
>
>
>
> forwardable = true
>
>
>
> proxiable = true
>
>
>
> dns_lookup_realm = false
>
>
>
> dns_lookup_kdc = false
>
>
>
> [realms]
>
>
>
> CLPSRES.LOCAL = {
>
>
>
>  default_domain = domain.com
>
>
>
> kdc = 10.1.1.101:88
>
>
>
>admin_server = 10.1.1.101:749
>
>
>
> }
>
>
>
>
>
>
>
> [domain_realm]
>
>
>
>
>
>
>
> .domain.com = CLPSRES.LOCAL
>
>
>
> domain.com = CLPSRES.LOCAL
>
>
>
>
>
>
>
>
>
>
>
> smb.conf
>
>
>
>
>
>
>
> # Samba config file created using SWAT
>
>
>
> # from 10.1.1.101 (10.1.1.101)
>
>
>
> # Date: 2007/06/18 16:09:28
>
>
>
>
>
>
>
> [global]
>
>
>
> workgroup = CLPSRES
>
>
>
> realm = CLPSRES.LOCAL
>
>
>
> security = ADS
>
>
>
> auth methods = winbind
>
>
>
> obey pam restrictions = Yes
>
>
>
> password server = 10.1.1.101
>
>
>
> log level = 8
>
>
>
> log file = /var/log/samba.log
>
>
>
> client signing = Yes
>
>
>
> ldap suffix = "dc=CLPSRES,dc=LOCAL"
>
>
>
> ldap ssl = no
>
>
>
> idmap uid = 15000-2
>
>
>
> idmap gid = 15000-2
>
>
>
> template homedir =
>
>
>
> winbind separator = +
>
>
>
> winbind enum users = Yes
>
>
>
> winbind enum groups = Yes
>
>
>
> winbind use default domain = Yes
>
>
>
> admin users = root
>
>
>
>
>
>
>
> [public]
>
>
>
> comment = test
>
>
>
> path = /usr/local/source
>
>
>
> read only = No
>
>
>
> on 22/6/07 9:21 AM, Axel Schmalowsky <[EMAIL PROTECTED]> wrote:
>
>   
>> Hello,
>>
>> I installed Samba 3.0.24 on my AIX 5.3 and configured it to authenticate
>> users via winbind.
>> I followed the previous thread 'Samba on AIX --> nsswitch.conf', copied
>> WINBIND to /usr/lib/security and modified the default: stanza in
>> /etc/security/user to include WINBIND (in the SYSTEM and registry entry,
>> respectively). Additionally, I added an entry in
>> /usr/lib/security/methods.cfg.
>>
>> I succeeded in getting the Domain users name by means of 'wbinfo -u',
>> but I cannot list any user via 'lsuser -R WINBIND ...' nor do I get any
>> information about a user via 'id user' - it tells me that the user
>> specified cannot be found in /etc/passwd.
>>
>> Is there anything I have not done or considered yet?
>>
>> Any help appreciated.
>>
>> Regards
>> Axel
>>
>> --
>> 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


[Samba] Samba 3.0.24 on AIX 5.3 + winbindd

2007-06-22 Thread Axel Schmalowsky
Hello,

I installed Samba 3.0.24 on my AIX 5.3 and configured it to authenticate
users via winbind.
I followed the previous thread 'Samba on AIX --> nsswitch.conf', copied
WINBIND to /usr/lib/security and modified the default: stanza in
/etc/security/user to include WINBIND (in the SYSTEM and registry entry,
respectively). Additionally, I added an entry in
/usr/lib/security/methods.cfg.

I succeeded in getting the Domain users name by means of 'wbinfo -u',
but I cannot list any user via 'lsuser -R WINBIND ...' nor do I get any
information about a user via 'id user' - it tells me that the user
specified cannot be found in /etc/passwd.

Is there anything I have not done or considered yet?


Any help appreciated.

Regards
 Axel

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