Re: [Samba] Samba filenames & cpoy

2005-08-10 Thread Otto Müller

You should also consider the character-set/encoding of your tty to be
ISO8859-15.

Otto

Lars schrieb am 09.08.2005 22:50:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey

I'm having problems with speciel characters such as Ü, ö and etc. Plus
copying files. I have 2 Harddrive with 2 Partition being shared with
samba on a Debian Sarge server. After googling around i think that this
is a samba problem, and it only occurs on the samba shares.

1)  The character are being changes from ó to _ or sim.

2)  I can't the files/folders with the changes names/stranges characters .
The error is "cannot stat - no directory". I can move the files with no
problem..

There is a post from 2003, where he has almost the same problem. But no
answer..
http://lists.samba.org/archive/samba/2003-April/065747.html

- --
/Lars


Maxime Woznicki schrieb am 10.08.2005 00:42:

Hello,

For your characters problems, try in the global section of your smb.conf :

display charset = ISO8859-15 (this value is for Western Europe (France),
use an appropriated one)
unix charset = the value of the default system charset

(for more precisions, man smb.conf)
Restart samba and this should work.

If it doesn't work, look at your kernel supported native languages in
file systems section, select those which are needed (never uncheck UTF8)
and recompile it.
I hope it helps you.

For your second issue, I don't know

Max


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

Re: [Samba] Can't validate [EMAIL PROTECTED] in Runas

2005-07-26 Thread Otto Müller

Linda W schrieb am 26.07.2005 20:51:

...
   I verified on my "Samba" server (running SuSE 9.1)
to have the following in my "/etc/samba/smbpasswd" file:

linda:1000:08..:8..B: \
[]:LCT-4<##>E:


As the man page of the smbpasswd file says, the Account Flags (the stuff 
between the square brackets) should contain a "U" to indicate that this 
is a "User" account.


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

[Samba] Logon Script not executing upon login

2005-07-25 Thread Otto Müller

chris rothgeb schrieb am 19.07.2005 19:31:

Hi,

I am trying to execute a logon script when a user access the domain.
For some reason the following is not executing. I don't want to enable
roaming profiles so I have set 'logon home' and logon path' to null -
I thought perhaps that this was causing a problem; but it hasn't made
a difference. I also verified that my logon.bat is a DOS formatted
file.


I'm experiencing the same phenomen:

Until before, I had a NT4-based domain (i.e. NT-PDC, WinXP clients), 
with samba as a member-server and a logon script residing at the NT-PDC. 
It works right well to connect the users to the shares of the samba 
server. The NT-PDC does only user-authentication, as the roaming 
profiles already reside at samba.


Now I copy this logon script to the netlogon share of samba, cut the old
NT-PDC off the Lan and propagate samba to be the PDC
(security=domain->user, domain master=no->yes, local master=no->yes,
preferred master=no->yes, os level=20->255).

The user logs in sucessfully into the domain, but the logon script is 
not executed. I even don't find any hint in the log.smb (debug level = 
3) that an attempt is made to access my login.cmd.

Right from the complete UNC-Path \\dbtgvamelhu002\netlogon\login.cmd the
user can execute the script and it works well.

This malpractice (or better nonpractice) is mentioned in the mail
archives about 1-2 times every last four years, but I never found some
definitve solution (The one mentioned in Jan 2005: guest ok = yes is
included in the netlogon share).

BTW:
I have server-generated print jobs to be spooled by cups (via 
smb-backend) to printers locally attached at the WinXP-clients. The 
backend hangs with "Unable to connect to SAMBA host". I hope the answer 
to my problem above will solve this too...


Any new ideas?

I'm running SuSE 9.0 Prof with samba 3.0.14a

Otto
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba3/examples/smb.conf.SUSE if the
# samba-doc package is installed.
#
# modified by Otto Mueller <[EMAIL PROTECTED]> 2005-07-25 10:28:44

# Global parameters
[global]
netbios name = DBTGVAMELHU002
server string = VarialServer ZA2 [MELH]
workgroup = ZA02

# Samba always offers NetBIOS time service.
# This causes it to also be advertised:
time server = Yes

# Run a WINS server
wins support = Yes

interfaces = 127.0.0.1, eth0
bind interfaces only = Yes

log level = 1
syslog = 0

#   map to guest = Bad User

passwd program = /usr/bin/passwd %u
unix password sync = Yes
encrypt passwords = Yes
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false 
-M %u

load printers = Yes
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root

unix charset = iso8859-15

# The logon script used for all users, Relative to [netlogon] share directory
logon script = login.cmd

logon path = \\%L\profiles\%u
logon home = 
ldap ssl = no

# Client-PC-abhaengige Protokoll-Einstellung
include = /etc/samba/smb.conf.%m

# The group identifying administrative users.
domain admin group = root

# Server role: ROLE_DOMAIN_MEMBER
security = DOMAIN
domain master = No
local master = No
preferred master = No
os level = 20

# Server role: ROLE_DOMAIN_PDC
# Perform domain authentication.
security = user
domain logons = Yes
# Always act as the local master browser and domain master browser.
# Do not allow any other system to take over these roles!
domain master = Yes
local master = Yes
preferred master = Yes
os level = 255

#
# Einkopieren der Dienstposten-Freigaben
#
include = /etc/samba/smb.conf.work

[profiles]
comment = Roaming Profiles
path = /var/opt/samba/profiles
create mask = 0600
security mask = 0700
directory mask = 0700
directory security mask = 0700
profile acls = Yes
csc policy = disable
read only = No
store dos attributes = Yes

[netlogon]
comment = Domain logon service
path = /var/opt/samba/netlogon
read only = Yes
locking = No
guest ok = Yes

[homes]
comment = Home Directories
valid users = %S
create mask = 0700
security mask = 0700
directory mask = 0700
directory security mask = 0700
inherit permissions = Yes
case sensitive = Yes
hide dot files = Yes
locking = Yes
browseable = No
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0600
printable = Yes
browseable = No

[print$]
comment