Paul Smedley | 1 Mar 04:35 2007

Samba 3.0.24 ported to OS/2 - a couple of problems

Hi all,

I've recently managed to compile Samba v3.0.24 for OS/2 and have 
debugged most of the issues.

The positive is that relatively few source changes were required to 
get the daemon working, however, having said that, there are two 
problems that I'm still having trouble with.

1) smbpasswd is generating a broken password - so password protected 
clients can't connect.

eg. smbpasswd -a psmedley - with 'password' entered as the password 
puts the following into private/smbpasswd
psmedley:1001:E52CAC67419A9A22B0498ECA57B8E5AF:99BBC66292358CB847E4B0F
8F741A01D:[U          ]:LCT-45E64927:

User psmedley can't connect with password of 'password'

sambapasswords.py from 
http://www.cdf.toronto.edu/~agenkin/py/index.pyc/software indicates 
that the password hash should be:
[E:\python25]python.exe sambapasswords.py
NT MD4 hash: password -> 8846F7EAEE8FB117AD06BDD830B7586C
LanMan hash: password -> E52CAC67419A9A224A3B108F3FA6CB6D

2) Files with a german character on a share do not show the german 
character, but the character gets replaced with an _

Samba log shows things like:
(Continue reading)

malk | 1 Mar 05:21 2007
Picon

Wide open (security = share) w/ printers including driver download success story

Hi-

I wanted to share my experience w/ the list in getting a completely wide open
file and printer (w/ automagic driver download) with security = share setup
working.

My requirement was to setup a server for a small office of XP boxes w/ file and
printer sharing and had always done samba as domain controller w/ full logons
etc.  No need for any security in this setup and I wanted to have the nice
driver download stuff.  Here is how I did it.

Fedora Core 6 install w/ Samba 3.0.24-1.fc6 packages (samba, samba-common, and
samba-client).  cups-1.2.4-9 for printing support.

Setup cups for raw printing first

/etc/cups/mime.types already had "application/octet-stream" enabled
(uncommented) in this setup.

/etc/cups/mime.convs -- had to uncomment the "application/octet-stream" in
this file.  restarted cups.

I had 3 printers, two on the network w/ static IP addrs, and one USB.  I like
to just add the queues w/ lpadmin since it's cut and dry and quick (I'm a
command line kind of guy).  Printers are a Brother DCP8045D, Brother MFC8840D,
and HP color laserjet 3500 (the USB guy).  Added raw queues this way:

lpadmin -p brother-1 -v lpd://brother-1/raw -E -m raw
lpadmin -p brother-2 -v lpd://brother-2/raw -E -m raw
lpadmin -p hp-lj3500 -v usb:/dev/usb/lp0 -E -m raw
(Continue reading)

Gerald (Jerry) Carter | 1 Mar 06:31 2007
Picon

Re: getent returns HEX number instead of username


Stephen Carville wrote:
> Not for all users but for some.
> 
> I'm using samba 3.0.20 running on Fedora Core 3.  Security = ADS,
> winbind works and getent passwd returns local unix accounts plus the
> domain accounts as expected.
> 
> It also returns a lot of entries like:
> 
> 6811ff15281f4d19bdc:x:18004:10000:Anel Susana
> Esquivel:/export/private/6811ff15281f4d19bdc:"/sbin/nologin"
> 
> I suspect these are accounts in a trusted domain.  AFAIK, they are not
> causing any problems but I'm wondering if this is normal (and harmless)
> or an indication I messed up something.  Could the owner of the hex
> numbered account access any shares on my server?  Ideally no one outside
> the domain designated in the smb.conf file should be able to access any
> shares on this server.

Never seen that.  Sorry.  What is the name supposed to be?

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
M9. | 1 Mar 08:55 2007
Picon

Re: What is happening here?


Hi those who are interrested,

As i wrote a bugreport on this, thought it might be better to create an
attachment, and put the zipped(2.2MB) smbd.log there.....
I hope that is ok?

Bug # 246770

M9. schreef:
> 
> 
> Volker Lendecke schreef:
>> On Wed, Feb 28, 2007 at 07:47:44PM +0100, M9. wrote:
>>> This gives a lot of info, that can point someone who knows what it means
>>>  in the right direction.
>> The server side is MUCH more interesting.
> 
>> Set "debug level = 10" in the [global] section of your
>> smb.conf and send the smbd log file which might reside in
>> /var/log/samba/log.smbd depending on your system.
> 
>> Volker
> 
> Send the logfile were? To this list?
> 

--

Have a nice day,
(Continue reading)

Volker Lendecke | 1 Mar 09:07 2007
Picon

Re: What is happening here?

On Thu, Mar 01, 2007 at 08:55:21AM +0100, M9. wrote:
> As i wrote a bugreport on this, thought it might be better to create an
> attachment, and put the zipped(2.2MB) smbd.log there.....
> I hope that is ok?

[2007/03/01 08:12:06, 3]
smbd/service.c:make_connection(1120)
  refusing connection to dfs proxy share 'ipc$' (pointing to no)

Remove the 

msdfs proxy = no

line from your smb.conf.

Volker
--

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

M9. | 1 Mar 09:38 2007
Picon

Re: What is happening here?


Volker Lendecke schreef:

> 
> Remove the 
> 
> msdfs proxy = no
> 
> line from your smb.conf.
> 
> Volker
> 

OK, result:

monkey9 <at> tribal-sfn2:~> smbclient -L tribal-sfn2
Password:
Domain=[TRIBAL-SFN2] OS=[Unix] Server=[Samba 3.0.23d-19.2-1179-SUSE-SL10.2]

        Sharename       Type      Comment
        ---------       ----      -------
        divx            Disk      films
        mp3             Disk      muziek
        shared          Disk      muziek
        documenten      Disk      documenten
        tekeningen      Disk      tekeningen
        IPC$            IPC       IPC Service (Samba
3.0.23d-19.2-1179-SUSE-SL10.2)
Domain=[TRIBAL-SFN2] OS=[Unix] Server=[Samba 3.0.23d-19.2-1179-SUSE-SL10.2]

(Continue reading)

M9. | 1 Mar 09:48 2007
Picon

Re: What is happening here?


Volker Lendecke schreef:

>
> Remove the
>
> msdfs proxy = no
>
> line from your smb.conf.
>
> Volker
>

This did the trick!
Shares browsable again! (hope it stays that way)
Now startup tha other machines, and see if we can connect the printer..

Thnx for this..;-)
( i will let you know if all works now again...)
--

Have a nice day,

M9.               Now, is the only time that exists.

  OS:  Linux 2.6.18.2-34-default x86_64
  Huidige gebruiker:  monkey9 <at> tribal-sfn2
  Systeem:  openSUSE 10.2 (X86-64)
  KDE:  3.5.5 "release 45.2"
(Continue reading)

Sascha | 1 Mar 10:14 2007
Picon

Files get deleted

hey list,

i dont know if this is a bit OT but maybe someone can help me anyway. we are using samba-3.0.23c-12.1.37 on
sles 9. we are currently migrating all our users to this samba server. every user has a private share and a
group share for the division. since we are using samba as primary file server i got about 5 calls from user
complaining about deleted files. first i thougt that the members of the groups deleted the files. but then
this happens in our it-division where i know that people and that they know what there are doing. so is there
any chance that samba deletes the file? is there any other (maybe a linux program) way i can monitor what and
how files gets deleted???

thanks for help and best regards

 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
--

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

Peter Eser | 1 Mar 10:12 2007

locale profile migration

We want to migrate (merge) 2 NT4 Domains into a new Samba Domain.
All user have locale profiles (and shall retain them, no roaming profiles).
Has someone any hints for migration of the old profiles?
(I know it's more a MS question but all I can find is migration to AD)

Thanks for any help,

Peter Eser
--

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

Volker Lendecke | 1 Mar 10:26 2007
Picon

Re: Samba + Quantum StorNext FS (SNFS)

On Wed, Feb 28, 2007 at 04:52:58PM +0100, Peer-Joachim Koch wrote:
> we have STorNEXT together with samba and NFS.
> All StorNEXT Clients have all 6 FS mounted. 
> The samba server exporting different mount points.
> But it is possible to export the same folders from both sides.

With "both sides" you hopefully mean NFS and Samba. Multiple
Samba servers on the same file space leads to corrupt data,
because the locking is not right. See the clustering pages
on wiki.samba.org for the development being done in this
area.

Volker
--

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

Gmane