Henry Baxter | 1 Sep 2004 02:13
Picon
Favicon

Re: write permission

Hi Charles,
I'm not sure what permissions you have or much about your setup, but 
perhaps 'force user = ' could help you out here, or 'force group = ' in 
your smb.conf. Check out sticky bits, and chapter 12 of the official 
howto, and you should be well on your way. As far as I know there is no 
direct way to force permission inheritance, but if anyone has 
suggestions, I'd love to hear them.

Good luck with it

Henry Baxter

charles wrote:

>Hi,
>Recently I have migrated my file windows PDC server to samba. I have problem
>with writing to subfolders. I need to set write permission manually from
>linux server to get access to sub folders. How can I set the write
>permissions to inherit the sub folders.
>
>regards
>Charles Nanayakara
>
>
>Synergy IT Solutions Inc.
>151 Brunel Road, Units 11 & 12
>Mississauga, ON ,L4Z 2H6
>T: 905 502 5955 Ext: 233
>F: 905 502 5655
> www.synergyit.ca <http://www.synergyit.ca>
(Continue reading)

Henry Baxter | 1 Sep 2004 02:21
Picon
Favicon

Re: New user Questions on passwords

Unfortunately I have no experience with SWAT, so there may be some thing 
I'm not aware of, but I would suggest: 1) check that the user name you 
are logging in as has an account on the linux box, 2) set their password 
again just to be sure, 3) at command line type smbpasswd <username> and 
if that doesn't work, you know your smbpasswd file is the missing link, 
and to remedy it smbpasswd -a <username>. If you want to check which 
people are registered as samba users (not sure if SWAT does this?) go to 
/etc/samba/private/smbpasswd, and you can see them all.

Oh, and as far as I know you should always be able to login as 'root' 
<root-password>, so I'm surprised you're having this trouble...

If you've checked all that, keep in mind you can only have one open 
connecion, so something like 'map to guest = bad user' could be causing 
you to log in as a guest, stopping your ability to log in as a real 
user. Can't think of much else off-hand, if none of this helps, perhaps 
you could add some more information about your setup.

Good luck!

Oh, and you are entering user names in win2k, right?

Henry Baxter

John Graves wrote:

> I have just installed samba on a debian server.  My laptop with win2k
> recognizes the debian server and shows it as a samba server in network
> neighborhood.  I can start swat from the desktop.  I have used swat to
> create both server and client server passwords.  When I click on the
(Continue reading)

Emir Faisal | 1 Sep 2004 02:31
Picon
Favicon

Re: winbind problem (?) on samba 3 ADS


--- "Gerald (Jerry) Carter" <jerry <at> samba.org> wrote:
-->8
> Try this patch (already applied to the 3.0 svn tree.
> cheers, jerry
-->8

Thank you. I'll let you know the result :)

EF

=====
rgrds,
EF

		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
--

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

Rashaad Hyndman | 1 Sep 2004 06:08

Workstation XXXXXX$: no account in domain

Hi all,

I'm trying to do the same thing "create machine accounts on the fly" and i
cant get it to work.  I have  the same configuration as TOM but the message
that I am getting in the samba log file is

[2004/09/01 00:19:38, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
  get_md4pw: Workstation BAGHDAD$: no account in domain

What could we be doing wrong?
----- Original Message ----- 
From: "Tom Skeren" <tms3 <at> fskklaw.com>
To: <samba <at> lists.samba.org>
Sent: Tuesday, August 31, 2004 2:56 PM
Subject: [Samba] XP Problems adding machines "on the fly"

> Having trouble with the add machine script.  Followed the chapter 6
> how-to, but, it fails.  Checking log file for the machine after
> error-RPC call failed on XP box, I find a 101MB log file filled with
> -error must provide name- something to that effect.  Any help would be
> appreciated. smb.conf follows.
>
> [global]
>
>    workgroup = FSK
>    netbios name = Camarillo
>    server string = Camarillo
>    hosts allow =
> passdb backend = tdbsam
> #  guest account = pcguest
(Continue reading)

Emir Faisal | 1 Sep 2004 03:12
Picon
Favicon

Re: winbind problem (?) on samba 3 ADS

--- "Gerald (Jerry) Carter" <jerry <at> samba.org> wrote:
> Try this patch (already applied to the 3.0 svn tree.
> cheers, jerry
>
> > Index: libads/ldap.c
>
===================================================================
> --- libads/ldap.c	(revision 1381)
> +++ libads/ldap.c	(revision 2091)
>  <at>  <at>  -2184,13 +2184,19  <at>  <at> 
>   */
>  char *ads_pull_username(ADS_STRUCT *ads, TALLOC_CTX
> *mem_ctx, void *msg)
>  {
...
...
...

this is new to me, btw.
how to apply/merge this patch ?

=====
rgrds,
EF

		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
(Continue reading)

Jeremy Allison | 1 Sep 2004 03:17
Picon
Favicon

Re: FileLockEx Problem

On Mon, Aug 30, 2004 at 06:16:40PM -0700, Steven Bush wrote:
> Hi,
> 
> I'm a developer working on an application for Windows XP and have been 
> using the Win32 API call FileLockEx() on shared files (writing or 
> reading).  This has been working fine, but we now have a customer where 
> this causes the following error when trying to lock a file on a samba 
> network drive (it works fine if the file is local or on a windows shared 
> drive):
> 
> LockFileEx returns false.
> GetLastError = 50
> Error message = "The network request is not supported."
> 
> We have a samba drive at our facility where this works fine and other 
> customers have not experienced this problem.  Any idea what may be the 
> problem?

What version of Samba is your customer running and what version of Samba
are you testing with ? More information would help here.

Jeremy.
--

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

Rohan Gilchrist | 1 Sep 2004 03:18

Printing help from Windows XP

Hello,

I'm trying to get priting working from a Windows XP box to a printer
that's been shared via SAMBA.

I can browse the printer fine, and can print fine from linux, but not from
Windows.

The following errors appear in the SAMBA log for the windows host I'm printing from:

lp: unable to print file: client-error-not-found
lpstat: Unknown destination "level3-bw"!

The error_log for CUPS, reports:

print_job: resource name '/printers/lvl3-bw' no good!

For reference, here's my smb.conf:

[global]
         netbios name = HOMER
         server string = HOMER
         workgroup = HOMENET
         passdb backend = tdbsam
         os level = 64
         preferred master = yes
         domain master = yes
         local master = yes
         security = user
         encrypt passwords = yes
(Continue reading)

Alexander E. Patrakov | 1 Sep 2004 03:19
Picon

Re: Automatically changing files names

Guy Roussin wrote:
> Hi,
> 
> I have just changed my linux samba server from 2.2 to 3.0 and now i need
> to change all the file name which contain a "sort of apostrophe".
> With samba 3.0, Windows does not accept  this character anymore.
> It appears under  linux with ? or ^Y
> 
> I'm looking for a model of shell script which could automatically change
> this character by another in all users directories !
> 
> Can somebody give me a hit ?
> Thank you very much.

Some guesses:

1) Probably your locale is not set up correctly.
2) try "dos charset = cp437", "unix charset=ISO-8859-1" (the default for 
unix charset is UTF-8).
3) If you do want to use UTF-8 (not recommended if you also run anything 
other than SAMBA), you will have to rename files. You will be able to do 
that in a batch with the "convmv" program:

http://j3e.de/linux/convmv/convmv-1.08.tar.gz

You will still have to convert all UNIX txt files to UTF-8 with iconv 
and throw Midnight Commander out of the window, if you adopt the 
solution (3).
--

-- 
Alexander E. Patrakov
(Continue reading)

Thomas M. Skeren III | 1 Sep 2004 03:25

Re: New user Questions on passwords

I've had a LOT of problems with this.  First make sure that the Win box 
is using Samba as NetBIOS name server.  Make sure that the samba server 
IS the domain master browser.  Do a Netstat -an on the windows box when 
browsin, see what port the Win box is trying to connect to.  IF MS 
client is issuing port 445 connects, this by-passes nmbd and you cannot 
authenticate using a netbiios name, only by IP-Addy.  This has been my 
experience. 
Henry Baxter wrote:

> Unfortunately I have no experience with SWAT, so there may be some 
> thing I'm not aware of, but I would suggest: 1) check that the user 
> name you are logging in as has an account on the linux box, 2) set 
> their password again just to be sure, 3) at command line type 
> smbpasswd <username> and if that doesn't work, you know your smbpasswd 
> file is the missing link, and to remedy it smbpasswd -a <username>. If 
> you want to check which people are registered as samba users (not sure 
> if SWAT does this?) go to /etc/samba/private/smbpasswd, and you can 
> see them all.
>
> Oh, and as far as I know you should always be able to login as 'root' 
> <root-password>, so I'm surprised you're having this trouble...
>
> If you've checked all that, keep in mind you can only have one open 
> connecion, so something like 'map to guest = bad user' could be 
> causing you to log in as a guest, stopping your ability to log in as a 
> real user. Can't think of much else off-hand, if none of this helps, 
> perhaps you could add some more information about your setup.
>
> Good luck!
>
(Continue reading)

Gerald (Jerry) Carter | 1 Sep 2004 03:48
Picon
Favicon

Re: winbind problem (?) on samba 3 ADS


Emir Faisal wrote:
| --- "Gerald (Jerry) Carter" <jerry <at> samba.org> wrote:
|
|>Try this patch (already applied to the 3.0 svn tree.
|>cheers, jerry
|>
|>
|>>Index: libads/ldap.c
|>
| ===================================================================
|
|>--- libads/ldap.c	(revision 1381)
|>+++ libads/ldap.c	(revision 2091)
|> <at>  <at>  -2184,13 +2184,19  <at>  <at> 
|>  */
|> char *ads_pull_username(ADS_STRUCT *ads, TALLOC_CTX
|>*mem_ctx, void *msg)
|> {
|
| ...
| ...
| ...
|
| this is new to me, btw.
| how to apply/merge this patch ?

Save the patche to a file.

$ tar zxf samba-3.0.6.tar.gz
(Continue reading)


Gmane